Who is next?

p > 3 p > 3 is a positive integer such that the three numbers p p , p + 2 p+2 and p + 4 p+4 are all prime.

Find the smallest number p > 3 p>3 such that the above condition is satisfied.

If no such number exists, enter 0 0 as your answer.


The answer is 0.

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

Since p p is a prime number greater than 3 3 , none of the numbers p p , p + 2 p+2 and p + 4 p+4 are divisible by 3.

Let p a m o d 3 p \equiv a \mod 3 , where a = 1 a=1 or a = 2 a=2 . Then ( p + 2 ) ( a + 2 ) m o d 3 (p+2) \equiv (a+2) \mod 3 and ( p + 4 ) ( a + 1 ) m o d 3 (p+4) \equiv (a+1) \mod 3 .

But, if a = 1 a=1 then ( p + 2 ) (p+2) would then be divisible by 3; and if a = 2 a=2 then ( p + 4 ) (p+4) would be divisible by 3.

Thus, there is no such set of primes numbers satisfying the above property.

Hence, the required answer is 0 \boxed{0}

When p p is prime, p 2 1 p^2-1 is divisible by 24 24 . When p + 4 p+4 is prime, ( p + 4 ) 2 1 (p+4)^2-1 or p 2 + 8 p + 15 p^2+8p+15 is divisible by 24 24 . Hence p + 2 p+2 is divisible by 3 3 (by subtracting the first from the second). Hence p + 2 p+2 is not prime. Similar argument can be given for other two also.

CodeCrafter 1
Oct 13, 2019

p p is greater than 3. So p + 1 p+1 must be divisible by 3 (because one of 3 consecutive numbers must be divisible by 3 and p p , p + 2 p+2 are not).

Hence p + 4 = ( p + 1 ) + 3 p+4=(p+1)+3 must be divisible by 3.

No such numbers satisfy the consitions from the problem.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...