Find the sum of all possible such that the following numbers are prime:
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.
The six numbers ( m o d 5 ) are:
n + 1 , n + 3 , n + 2 , n + 4 , n + 3 , n
As these give five different residues ( m o d 5 ) it follows one of them is divisible by 5 as they are prime, one of the equals 5 .
Using n + 1 ≥ 2 ⇒ n ≥ 1 and n + 1 ≤ 5 ⇒ n ≤ 4 gives us n = 1 , 2 , 3 , 4 to test:
n = 1 ⇒ 2 , 4 , 8 ⋯ 2 ∣ 4 n = 2 ⇒ 3 , 5 , 9 , ⋯ 3 ∣ 9 n = 3 ⇒ 4 , 6 , ⋯ 2 ∣ 4 n = 4 ⇒ 5 , 7 , 1 1 , 1 3 , 1 7 , 1 9
All these six numbers are prime so our only solution in n = 4 giving the sum of possible values of n as:
4