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.

A213073 Numbers n such that (7^n - 4^n)/3 is prime.

Original entry on oeis.org

2, 5, 11, 61, 619, 2879, 2957, 24371, 69247, 376463, 571199, 624803
Offset: 1

Views

Author

Robert Price, Jun 04 2012

Keywords

Comments

All terms are primes.
Next term > 10^6.

Crossrefs

Programs

  • Mathematica
    k=7; Do[p=Prime[n]; f=(k^p-4^p)/(k-4); If[ PrimeQ[f], Print[p] ], {n, 1, 100}]
  • PARI
    is(n)=ispseudoprime((7^n-4^n)/3) \\ Charles R Greathouse IV, Jun 13 2017

Extensions

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