Find with proof the longest arithmetic progression, with common difference 6, that contains only primes.
I was just wondering about your proof.
should indeed have a zero, but how did you get that is the only possible solution? Can't be any integer (since there are 5 terms there in a +1 arithmetic progression)? For example, if then
Also, why did you consider only the sequence up to ? Why not also ?
Also, how come mod 5? (For example, if you use mod 7, and start at a+42 till a+78, you'll get a,a+6,a+5,a+4,a+3,a+2,a+1 mod 7, respectively, and since one of the terms must be congruent to zero mod 7, then we just have to find an appropriate 'a')
P.S. Sorry if I seem like I'm trying to shoot down your proof, it's just that it doesn't seem concrete to me (specially since you limited the sequence already, so we're kind of limiting the progression already), and I am hoping you could enlighten me . Thanks
The point of ynj's proof is that any arithmetic progression of length 5 (with common difference 6) must contain a multiple of 5. But the only prime multiple of 5 is 5 itself. So the only way to get such a progression to consist entirely of primes is if the sequence starts with 5.
en..you may wonder how 5 appears..
One thing is certain that our main idea is to prove there always exists an element in every sequence that is divisible by some k.
Then we consider the sequence .
if k and 6 are not relatively prime, then . Then you can choose some , thus my previous proof can not work for .
So we may assume k and 6 are relatively prime.
then you can choose anything you like until you have found a sequence such that is always prime when . But unfortunately, I have chosen 5 when I started to do this problem...
Ah, okay ... I'm starting to get it now ... Thanks
Sorry, I didn't know that mod could be interpreted that way.
Ah ... it's coming together now ...
6 and k should be relatively prime.
That first occurs when k = 5.
From that statement, we see that any arithmetic progression of length at least 5 (with difference 6) will have a number divisible by 5. That is why you didn't consider more than a+24 since adding a+30 to the sequence will give us 2 numbers that are divisible by 5, and thus at least one will not be prime.
So the only possibility is when 'a' = 5, which gives us ynj's sequence.
Now if we consider a number greater than 5 and relatively prime to 6, we see that we can get an arithmetic progression of longer length, but since it contains a progression of length 5, then there will be a multiple of 5 in the progression, forcing one of the terms to be 5 (the only prime multiple of 5 ....).
Since we are not considering negatives, the sequence must start at 5.
So, we start at 5, and from the first part, confirm that the first 5 terms are indeed prime, and the 6th term is not prime.
Thus 5,11,17,23,29 is the sequence and it's length is 5
Ah ... thank you so much ... I feel like my brain is growing hehehe. (Just to be sure, no sarcasm there, I really am appreciative ... I took a number theory class before, but I felt unfulfilled ... what I basically learned was critical thinking ... we didn't even cover solving congruences , and I'll leave it at that, cuz the rest is worse, hehe )