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.

A064217 Least k such that k*7^n +/- 1 are twin primes.

Original entry on oeis.org

4, 6, 18, 24, 138, 60, 150, 720, 150, 234, 138, 966, 138, 420, 60, 1584, 420, 60, 1830, 1134, 162, 1080, 1482, 684, 240, 10074, 3378, 3300, 2742, 984, 2400, 4050, 5262, 3510, 3378, 960, 3612, 516, 6840, 6474, 4680, 4950, 12612, 7986, 4290, 8046, 5208
Offset: 0

Views

Author

Robert G. Wilson v, Sep 21 2001

Keywords

Crossrefs

Programs

  • Mathematica
    Do[ k = 1; While[ ! PrimeQ[ k*7^n + 1 ] || ! PrimeQ[ k*7^n - 1 ], k++ ]; Print[ k ], {n, 0, 50} ]

Extensions

Offset corrected by Georg Fischer, May 01 2022