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.

A139385 Primes p such that p, p+4 and p+12 are consecutive primes.

Original entry on oeis.org

397, 487, 739, 757, 907, 1567, 1999, 2239, 2269, 2659, 3037, 3217, 3697, 3877, 5167, 5569, 5689, 5779, 6199, 6217, 6469, 6829, 7669, 7687, 8089, 8167, 8677, 8929, 10099, 10627, 11239, 11317, 11677, 12277, 12409, 13147, 13159, 14407, 14419, 14767
Offset: 1

Views

Author

Zak Seidov, Apr 17 2008

Keywords

Comments

Subset of A046137.
Subsequence of A029710. - R. J. Mathar, May 06 2017

Crossrefs

Cf. A046137.

Programs

  • Mathematica
    Select[Partition[Prime[Range[2000]],3,1],Differences[#]=={4,8}&][[All,1]] (* Harvey P. Dale, Apr 02 2017 *)
  • PARI
    isok(p) = isprime(p) && (nextprime(p+1) == p+4) && (nextprime(p+5) == p+12); \\ Michel Marcus, Oct 13 2013