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.

A173718 Numbers n such that (9^n - 2^n)/7 is prime.

Original entry on oeis.org

2, 3, 5, 13, 29, 37, 1021, 1399, 2137, 4493, 5521, 108553, 200807
Offset: 1

Views

Author

Robert Price, Dec 22 2012

Keywords

Comments

All terms are prime.
a(14) > 10^6.

Crossrefs

Programs

  • Mathematica
    Select[ Prime[ Range[1, 100000] ], PrimeQ[ (9^# - 2^#)/7 ]& ]
  • PARI
    is(n)=ispseudoprime((9^n-2^n)/7) \\ Charles R Greathouse IV, Jun 06 2017

Extensions

a(12)-a(13) from Jon Grantham, Jul 29 2023