Let be a positive integer such that the 6 numbers above are all prime numbers . Find the sum of all the possible values of .
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.
Obviously, n = 1 . If n = 2 , 2 n 2 + 5 n + 8 and n 2 + 3 9 8 n + 1 2 will be composite. If n = 3 , 1 2 n + 1 3 and n 2 + 3 9 8 n + 2 will be composite. Since 4 is composite, n = 4 .
Checking for n = 5 ,
n 2 + 4 = 2 9
2 n 2 + 5 n + 8 = 8 3
1 2 n + 1 3 = 7 3
2 4 n − 1 1 = 1 0 9
n 2 + 3 9 8 n + 1 2 = 2 0 1 7
which are all primes! Hence n = 5 .
To prove that there is no other solution for n > 5 , set n as 5 k , 5 k + 1 , 5 k + 2 , 5 k + 3 , and 5 k + 4 (for all k ≥ 1 ). By substituting, there is always at least one among the numbers which is divisible by 5 (and perhaps, other prime numbers).
Hence, n = 5