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

A052198
Primes p such that p, p+42, p+84 are consecutive primes.
8
247099, 689467, 1008617, 1629767, 1658627, 2024647, 2750999, 2811719, 2880907, 2921777, 3264449, 3295027, 3311317, 3365449, 3555269, 3668419, 4059229, 4412099, 4440529, 4549309, 4619357, 4690219, 4802947, 4955179, 5115259
OFFSET
1,1
COMMENTS
Old name was: Primes p(k) such that p(k+2)-p(k+1)=p(k+1)-p(k)=42.
MATHEMATICA
Select[Partition[Prime[Range[400000]], 3, 1], Differences[#]=={42, 42}&][[All, 1]] (* Harvey P. Dale, May 28 2017 *)
PROG
(PARI) is_A052198(n)=nextprime(n+1)==n+42 && nextprime(n+43)==n+84 && isprime(n) \\ Charles R Greathouse IV, Jan 07 2013, typo corrected by M. F. Hasler, Jan 13 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jan 28 2000
EXTENSIONS
New name from Charles R Greathouse IV, Jan 07 2013
STATUS
approved