To know whether everyone knows about primes

Find the smallest prime number n n , such that for all prime numbers p n p \geq n , p 2 + 2 p^2 + 2 is always composite.


The answer is 5.

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.

1 solution

Kazem Sepehrinia
Aug 9, 2015

For p 5 p\ge 5 we have p 2 1 p^2 \equiv 1 mod 3 3 and therefore p 2 + 2 1 + 2 0 p^2+2 \equiv 1+2 \equiv 0 mod 3 3 and p 2 + 2 p^2+2 is always composite. So n m i n = 5 n_{min}=5 . Note that for p = 3 p=3 , p 2 + 2 = 11 p^2+2=11 is a prime.

Even though I guessed between 4 and 5, I think the answer should be 4 4 since it doesn't specify n n has to be a prime and p 4 p\ge 4 makes sense.

Xuming Liang - 5 years, 10 months ago

Log in to reply

But p p is a prime and cannot take the value of 4 4 . So it's not necessary to say n n has to be a prime.

Kazem Sepehrinia - 5 years, 10 months ago

Log in to reply

4 4 is the smaller value of n n than 5 5 and it still works (so the answer would be 4 4 - the problem asked for the smallest value of n n , and 4 4 works), because the set of all primes 4 \ge 4 is equal to the set of all primes 5 \ge 5 . But now the problem statement has been edited and it says that n n is prime, so the answer 5 5 is now correct.

mathh mathh - 5 years, 10 months ago

Log in to reply

@Mathh Mathh I still have doubt on this one, I don't know. Maybe one of challenge masters will clarify this for us?

Kazem Sepehrinia - 5 years, 10 months ago

Log in to reply

@Kazem Sepehrinia Thanks. Those who answered 4 have been marked correct.

In future, if you spot any errors with a problem, you can “report” it by selecting "report problem" in the “dot dot dot” menu in the lower right corner. This will notify the problem creator who can fix the issues.

Calvin Lin Staff - 5 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...