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.

A212492 Prime p such that p, p+10, p+12 are all primes.

Original entry on oeis.org

7, 19, 31, 61, 97, 127, 139, 181, 229, 271, 337, 409, 421, 607, 631, 811, 1009, 1021, 1039, 1051, 1279, 1291, 1471, 1597, 1609, 1657, 1777, 1861, 1867, 1987, 2017, 2131, 2371, 2539, 2647, 2677, 2719, 2791, 3109, 3319, 3361, 3457, 3517, 3529, 3547, 3571, 3907
Offset: 1

Views

Author

Salvatore Di Guida, May 18 2012

Keywords

Comments

All terms are congruent to 1 (mod 6). - Zak Seidov, Oct 28 2021

Programs

  • Mathematica
    Select[Range[5000], PrimeQ[#] && PrimeQ[#+10] && PrimeQ[#+12] &] (* T. D. Noe, May 18 2012 *)
  • Python
    from sympy import isprime, primerange
    def ok(p): return isprime(p+10) and isprime(p+12)
    print(list(filter(ok, primerange(1, 3910)))) # Michael S. Branicky, Oct 28 2021