Two . Prime . Power. Sum . Again prime?

Consider all ordered pairs of primes ( p , q ) (p , q) for which p q + q p p^q + q^p is also a prime.

Find ( p i + q i ) \sum (p_i + q_i) .


The answer is 10.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Chandrasekhar S
May 28, 2015

Let E = p q + q p E = p^q+q^p . First, note that if ( p , q ) (p,q) is a solution, then so is ( q , p ) (q,p) . Now, p p and q q can’t be both even or both odd, else E will be even. Without loss of generality, assume p = 2 and q some odd prime. So, E = 2 q + q 2 E = 2^q + q^2 . There are two cases to consider.

Case 1: q = 3 q = 3 .

This yields E = 2 3 + 3 2 = 17 E = 2^3 + 3^2 = 17 , which is prime. So, (2,3) and, hence (3,2) are solutions.

Case 2: q > 3 q > 3 .

There are two sub-cases to consider.

1) q = 3 k + 1 q = 3k+1 , where k is some even integer. Then, we have E = 2 3 k + 1 + ( 3 k + 1 ) 2 ( 1 ) k ( 1 ) + 1 1 + 1 0 ( m o d 3 ) E = 2^{3k+1} + (3k+1)^2 \equiv (-1)^k(-1) + 1 \equiv -1 + 1 \equiv 0 \pmod 3 . Hence, 3 E 3 \mid E ; so, E can’t be prime.

2) q = 3 k + 2 q = 3k+2 , where k k is some odd integer. Then we have E = 2 3 k + 2 + ( 3 k + 2 ) 2 ( 1 ) k ( 1 ) + 1 1 + 1 0 ( m o d 3 ) E = 2^{3k+2} + (3k+2)^2 \equiv (-1)^k(1) + 1 \equiv -1 + 1 \equiv 0 \pmod 3 . Hence, 3 E 3 \mid E ; so, again, E E can’t be prime.

As we have exhausted all possible cases, we conclude ( 2 , 3 ) (2,3) and ( 3 , 2 ) (3,2) are the only possible solutions.

Rama Devi
May 27, 2015

The number of ordered pairs are 2 , which are (2,3)and (3,2).Therefore the sum is 2(2+3) which is equal to 10.

Moderator note:

How do you know that it's the only solution? Where's your working? Where's your reasoning?

But how you got them?

shivamani patil - 6 years ago
Thomas Lee
May 26, 2015

I plugged in ( 2 , 3 ) 2,3) for ( p , q ) p,q) to test if p q + q p p^q+q^p would make a prime and it did! 2 3 + 3 2 = 17 2^3+3^2=17 . Since you can reverse the numbers and they will yield the same result, the sum of all primes that fit that produce another prime is 2 ( p + q ) = 2 ( 2 + 3 ) = 10 2(p+q)=2(2+3)=10

Moderator note:

How do you know that it's the only 2 solutions? Where's your working? Where's your reasoning?

I have got all our answer Challenge Master

Md Zuhair - 3 years, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...