A prime sequence

If p , p + 6 , p + 12 , p + 18 p, p+6, p+12, p+18 and p + 24 p+24 are all prime numbers, then what is the value of p p ?


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.

6 solutions

Aareyan Manzoor
Dec 14, 2015

take mod 5 a p p ( m o d 5 ) p + 6 p + 1 ( m o d 5 ) p + 12 p + 2 ( m o d 5 ) p + 18 p + 3 ( m o d 5 ) p + 24 p + 4 ( m o d 5 ) \begin{array}{c}a p\equiv p\pmod 5\\ p+6\equiv p+1\pmod 5\\ p+12\equiv p+2\pmod 5\\ p+18\equiv p+3\pmod 5\\ p+24\equiv p+4\pmod 5\\ \end{array} notice that this are 5 consecutive numbers.5 must divide one of them. so we need the number that 5 divides to be prime.

case 1: p + 3 = 5 p = 2 p+3=5\Longrightarrow p=2 . does not satisfy p+6=8

case 2: p=5. satisfies

But why take mod 5? It seems arbitrary

elijah osborne - 5 years, 5 months ago

Log in to reply

5 numbers. if you used 5, you can use 10. i know that 5 will always divide. all i need to do is prove it. if you are fimiliar with these then you will not hesitate to think which base to use.

Aareyan Manzoor - 5 years, 5 months ago

Is case 1 really necessary? Why did you consider only p+3 and p?

Agil Saelan - 5 years, 4 months ago

Log in to reply

Because all other immediately give absurd results!

Aareyan Manzoor - 5 years, 4 months ago

What does mod mean? I'm new here, recommend some wiki's

Silver Vice - 5 years, 5 months ago

Log in to reply

tis wiki

Aareyan Manzoor - 5 years, 5 months ago
Cheng Wei Chang
Dec 16, 2015

consider cases

  • p=5k, k must be 1, can check all others are prime
  • p=5k+1, p+24=5k+25 not prime
  • p=5k+2, p+18=5k+20 not prime
  • p=5k+3, p+12=5k+15 not prime
  • p=5k+4, p+6=5k+10 not prime

therefore only p that satisfies is p=5

Denton Young
Dec 13, 2015

Between the five numbers, one of them must be an exact multiple of 5. The only exact multiple of 5 that is prime is 5 itself. Since the numbers are all positive integers, 5 must be the smallest of them. Thus the sequence is 5, 11, 17, 23, 29.

Moderator note:

As pointed out by Syed, the first sentence could be explained clearer. Not every set of five numbers must contain a multiple of 5.

Can u elaborate more how u achieved 5 please.

Syed Baqir - 5 years, 6 months ago

Log in to reply

I'm confused on what part you want me to elaborate on...

Denton Young - 5 years, 6 months ago

Log in to reply

The first sentence that u said

Syed Baqir - 5 years, 6 months ago

Log in to reply

@Syed Baqir Aareyan Manzoor beat me to it. See his comment.

Denton Young - 5 years, 6 months ago
Adarsh Mahor
Dec 16, 2015

Just put value 1,2,3,4,5
You will get your answer-------5

Dae Jin Park
Dec 28, 2015

I tried to see which ones digit makes the sum to be multiple of 5. P + 6 = multiple of 5 on the numbers of ones digit of 4 and 9 P + 12 = multiple of 5 on the numbers of ones digit of 3 and 8 18; can't do 2 & 7 24; can't do 1 & 6 Only ones digits we can use are 0 and 5, and any number with 0 or 5 on ones place is composite number except for 5. Therefore 5 is the only answer.

Syed Baqir
Dec 13, 2015

The easy way is to use numbers in the value of p

First try : let p = 1, 3, 5 ....

Second try : let p = 2, 4,.....

Since the number is positive then the smallest is 5,

Using p = 5 we get:

P=5,

P= 5+6=11

And :: 17,23,29

Hence answer

Remember that 1 is actually not a prime! See: Is 1 prime?

Eli Ross Staff - 5 years, 6 months ago

really p=1,4 ?

Arjun SivaÞrasadam - 5 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...