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.

A057172 Numbers n such that (6^n + 1)/7 is a prime.

Original entry on oeis.org

3, 11, 31, 43, 47, 59, 107, 811, 2819, 4817, 9601, 33581, 38447, 41341, 131891, 196337, 1313371
Offset: 1

Views

Author

N. J. A. Sloane, Sep 15 2000

Keywords

Comments

a(15), a(16) and a(17) correspond to probable primes.

Programs

  • Mathematica
    Select[Range[5000], PrimeQ[(6^# + 1) / 7] &] (* Vincenzo Librandi, Oct 29 2017 *)
  • PARI
    isok(n) = (denominator(p=(6^n+1)/7)==1) && isprime(p); \\ Michel Marcus, Oct 29 2017

Extensions

a(12) was discovered by Kamil Duszenko, Jul 15 2003
a(13) was discovered by Henri Lifchitz, Sep 15 2007
a(14) was discovered by Paul Bourdelais, Oct 01 2007
a(15) was discovered by Paul Bourdelais, Feb 01 2010
a(16) was discovered by Paul Bourdelais, Feb 19 2010
a(17) was discovered by Paul Bourdelais, Jan 28 2019