login
A215607
Primes p such that four consecutive primes starting with p are congruent to {1,2,3,4} (mod 5).
2
251, 1741, 3301, 3631, 4051, 5101, 5281, 5381, 5531, 6311, 6361, 6841, 8641, 9901, 10861, 11491, 12451, 12541, 12641, 13451, 13591, 14741, 14891, 15791, 15901, 16481, 17471, 18211, 19471, 22441, 22811, 23321, 23761, 24391, 26171, 26371, 28921, 29311, 30091
OFFSET
1,1
COMMENTS
Indices of primes: 54, 271, 464, 508, 559, 682, 701, 709, 732, 821, 829, 881, 1076, 1221, 1321, 1386, 1486, ....
EXAMPLE
prime(54,55,56,57) = {251, 257, 263, 269} == {1,2,3,4} (mod 5).
MATHEMATICA
nn = 4000; p = Partition[Prime[Range[nn]], 4, 1]; t = Select[p, Mod[#, 5] == {1, 2, 3, 4} &]; Transpose[t][[1]] (* T. D. Noe, Aug 17 2012 *)
Select[Partition[Prime[Range[4000]], 4, 1], Mod[#, 5]=={1, 2, 3, 4}&][[;; , 1]] (* Harvey P. Dale, Feb 24 2023 *)
CROSSREFS
Sequence in context: A008917 A025396 A185941 * A099734 A054800 A033451
KEYWORD
nonn
AUTHOR
Zak Seidov, Aug 17 2012
STATUS
approved