cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A052198 Primes p such that p, p+42, p+84 are consecutive primes.

Original entry on oeis.org

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

Views

Author

Labos Elemer, Jan 28 2000

Keywords

Comments

Old name was: Primes p(k) such that p(k+2)-p(k+1)=p(k+1)-p(k)=42.

Crossrefs

Programs

  • Mathematica
    Select[Partition[Prime[Range[400000]],3,1],Differences[#]=={42,42}&][[All,1]] (* Harvey P. Dale, May 28 2017 *)
  • 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

Extensions

New name from Charles R Greathouse IV, Jan 07 2013