3 primes

Find the sum of all primes p p such that p + 2 p+2 and p 2 + 2 p 8 p^2+2p-8 are also primes.


The answer is 3.

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.

2 solutions

For p 2 + 2 p 8 = ( p + 4 ) ( p 2 ) p^{2} + 2p - 8 = (p + 4)(p - 2) to be prime, one of p + 4 p + 4 or p 2 p - 2 must equal 1 1 . As p p must be prime the only option is that p 2 = 1 p = 3 p - 2 = 1 \Longrightarrow p = 3 , which is prime, as is p + 2 = 5 p + 2 = 5 . Thus the only such prime, and hence the desired sum, is 3 \boxed{3} .

I think one of p+4 or p-2 must equal 1 or -1

X X - 2 years, 4 months ago
Sathvik Acharya
Jan 8, 2019

Assume that p p is not equal to 3. 3. The p p is either of the form 3 k + 1 3k+1 or 3 k + 2 3k+2 for some integer k . k.

Case 1: p p is of the form 3 k + 1 3k+1 . So p + 2 = 3 k + 3 = 3 ( k + 1 ) p+2=3k+3=3(k+1) , implying that 3 3 divides p + 2 p+2 which cannot happen.

Case 2: p p is of the form 3 k + 2 3k+2 . So p 2 + 2 p 8 = ( 3 k + 2 ) 2 + 2 ( 3 k + 2 ) 8 p^2+2p-8=(3k+2)^2+2(3k+2)-8 which is also divisible by 3 which cannot happen.

This implies that the only possible value for p p is 3. This gives p + 2 = 5 p+2=5 and p 2 + 2 p 8 = 7 p^2+2p-8=7 which are indeed primes. Thus the sum of all possible values of p p is 3 \boxed{3} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...