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.

A123985 Numbers n for which 12n+1, 12n+5, 12n+7 and 12n+11 are primes.

Original entry on oeis.org

1, 3, 8, 38, 71, 73, 108, 166, 288, 376, 656, 871, 1156, 1338, 1618, 1751, 1776, 1856, 1921, 1963, 2311, 2418, 2801, 3501, 3538, 3648, 3818, 4266, 4541, 4611, 4651, 5076, 6723, 6751, 7388, 7533, 7621, 7698, 7738, 7796, 8083, 8193, 9073, 9243, 9418, 9516
Offset: 1

Views

Author

Artur Jasinski, Oct 30 2006

Keywords

Crossrefs

Cf. A110801.

Programs

  • Mathematica
    Select[Range[10^4], And @@ PrimeQ /@ ({1, 5, 7, 11} + 12#) &] (* Ray Chandler, Nov 22 2006 *)
  • PARI
    P=isprime;
    for(n=0, 10^5, if(P(12*n+1) && P(12*n+5) && P(12*n+7) && P(12*n+11), print1(n", ")));
    \\ Joerg Arndt, Jul 11 2014