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”).

A128312
List of triples of primes with common difference 12.
0
199, 211, 223, 1499, 1511, 1523, 4397, 4409, 4421, 4679, 4691, 4703, 7829, 7841, 7853, 9859, 9871, 9883, 11287, 11299, 11311, 11399, 11411, 11423, 11719, 11731, 11743, 12829, 12841, 12853, 15149, 15161, 15173, 16607, 16619, 16631, 17419
OFFSET
1,1
EXAMPLE
199, 211, 223
1499, 1511, 1523
4397, 4409, 4421
4679, 4691, 4703
7829, 7841, 7853
9859, 9871, 9883
11287, 11299, 11311
11399, 11411, 11423
etc...
MAPLE
for i from 1 by 1 to 4000 do > if ithprime(i+1) = ithprime(i) +12 and ithprime(i+2) = ithprime(i) + 24 then print(ithprime(i), ithprime(i+1), ithprime(i+2)); > fi; > od; #
MATHEMATICA
s={}; Do[p=Prime[n]; If[NextPrime[p]==p+12&&NextPrime[p, 2]==p+24, AppendTo[s, {p, p+12, p+24}]], {n, 2100}]; Flatten[s] (* James C. McMahon, Jan 07 2025 *)
CROSSREFS
Cf. A052188 (1st column).
Sequence in context: A006243 A171391 A151738 * A106628 A109561 A031930
KEYWORD
nonn,tabf,changed
AUTHOR
Zerinvary Lajos, May 04 2007
STATUS
approved