{ p , p + 2 , p + 6 , p + 8 , p + 1 2 , p + 1 4 }
Find the sum of all values of p such that the set of numbers of above for a particular p are all primes. State your answer as the sum of all such p .
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.
A nice approach Eva , you are living up to the reputation of a Romanian :)
Log in to reply
I thought that you have asked the sum of all numbers, please add it too
Log in to reply
I had asked the sum of all such numbers "p" ; to which there is only value of p = 5 .
But still I'll change the wordings for you . Happy New Year .
That means you also did a hit and trial method
There is only one such number, namely p = 5.
We can find that, the required property does not hold for p < 5. For p = 5, we obtain primes 5, 7, 11, 13, 17, and 19.
We know that any number when divided by 5 yields 5 remainders :0,1,2,3 and 4. So there are 5 types of numbers greater than 5.
If p > 5 and p = 5k with some positive integer k, then p is composite. If p = 5k+l, then p+14 is divisible by 5, hence ,composite.
If p = 5k+2, then p+8 is divisible by 5, hence composite.
If p = 5k+3, then 5/p+12 and p+12 is composite.
Finally, if p = 5k+4, then 5/p+6, and p+6 is composite.
Friends , I did this question by hit and trial but can anybody suggest a better method for this question .
I cant understand why you mentioned that p<5 isnt applicable
since p is prime, so from 1-10 it can be 3,5,7.(if p=2 then p+2 will not be prime).For any number above 10 if unit digit is:
1 → p+14 is divisible by 5
2 → p is divisible by 2
3 → p+2 is divisible by 5
4 → p is divisible by 2
5 → p is divisible by 5
6 → p is divisible by 2
7 → p+8 is divisible by 5
8 → p is divisible by 2
9 → p+6 is divisible by 5
0 → p is divisible by 2.
Therefore, only 5 is number which satisfy the conditions.
Answer: → 5
Consider the set modulo 5. Note that no prime can be congruent to 0 mod 5 except for 5 itself.
If p ≡ 1 ( m o d 5 ) , ⟹ p + 1 4 ≡ 0 ( m o d 5 ) and p + 1 4 > 5
If p ≡ 2 ( m o d 5 ) , ⟹ p + 8 ≡ 0 ( m o d 5 ) and p + 8 > 5
If p ≡ 3 ( m o d 5 ) , ⟹ p + 1 2 ≡ 0 ( m o d 5 ) and p + 1 2 > 5
If p ≡ 4 ( m o d 5 ) , ⟹ p + 6 ≡ 0 ( m o d 5 ) and p + 6 > 5
Therefore, the only option left is p ≡ 0 ( m o d 5 ) , so p = 5 .
only 5 will fit in the question.
Problem Loading...
Note Loading...
Set Loading...
2 is the only even prime number, the other primes are odd. But if p = 2 then p + 2 ; p + 6 ; p + 8 ; p + 1 2 ; p + 1 4 are obviously not prime. So the last digit of any prime number which is greater than 2 must be 1 , 3 , 5 , 7 or 9 . If the last digit is 1 , p + 1 4 is divisible by 5 . If the last digit of p is 3 , p + 2 and p + 1 2 are divisible by 5 . If the last digit of p is 5, p is prime only if p = 5 . 5 , 7 , 1 1 , 1 3 , 1 7 , 1 9 are all prime. p = 5 is a solution. If the last digit of p is 7 , p + 8 is divisible by 5 and if the last digit is 9 , p + 6 is divisible by 5. The only solution is p = 5