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.

A139405 Numbers k such that 8*k+1 and 8*k+7 are primes.

Original entry on oeis.org

2, 5, 9, 12, 24, 29, 32, 44, 54, 57, 74, 75, 80, 107, 110, 122, 129, 137, 152, 162, 165, 170, 179, 185, 194, 200, 207, 219, 222, 234, 249, 260, 267, 285, 297, 299, 302, 305, 332, 339, 362, 414, 432, 452, 470, 500, 509, 519, 555, 557, 564, 570, 582, 584, 599
Offset: 1

Views

Author

Artur Jasinski, Apr 19 2008

Keywords

Crossrefs

Programs

  • Mathematica
    a = {}; Do[If[PrimeQ[8 n + 1] && PrimeQ[8 n + 7], AppendTo[a, n]], {n, 1, 1000}]; a