login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A090834
Primes p such that p, p+6, p+12, p+18 are consecutive primes and p=6*k+5 for some k.
9
251, 5381, 6311, 12641, 13451, 14741, 15791, 17471, 23321, 26171, 56081, 62201, 75521, 78791, 82781, 84431, 89381, 94421, 95261, 104711, 115751, 120551, 121001, 154061, 162251, 163841, 179801, 185051, 187361, 191021, 206021, 214451, 222311, 226631, 243521
OFFSET
1,1
LINKS
EXAMPLE
251,257,263,269 are consecutive primes,257=251+6,263=251+12,269=251+18 and 251=6*41+5
MATHEMATICA
Transpose[Select[Partition[Prime[Range[30000]], 4, 1], Differences[#]=={6, 6, 6}&&IntegerQ[(#[[1]]-5)/6]&]][[1]] (* Harvey P. Dale, Dec 12 2015 *)
KEYWORD
easy,nonn
AUTHOR
Pierre CAMI, Dec 09 2003
EXTENSIONS
More terms from Harvey P. Dale, Dec 12 2015
STATUS
approved