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.

A056994 Numbers k such that k^128 + 1 is prime.

Original entry on oeis.org

1, 120, 190, 234, 506, 532, 548, 960, 1738, 1786, 2884, 3000, 3420, 3476, 3658, 4258, 5788, 6080, 6562, 6750, 7692, 8296, 9108, 9356, 9582, 9706, 10238, 10994, 11338, 11432, 11466, 11554, 11778, 12704, 12766, 13082, 13478, 13700
Offset: 1

Views

Author

Robert G. Wilson v, Sep 06 2000

Keywords

References

  • Dubner, Harvey. "Generalized Fermat primes." J. Recreational Math., 18 (1985): 279-280.

Crossrefs

Programs

  • Mathematica
    Do[ k = 1; While[ PowerMod[ n, 128, 2*k*128 + 1 ] != 2*k*128 && k < 10^3, k++ ]; If[ k == 10^3 && PrimeQ[ n^128 + 1 ], Print[ n ] ], {n, 2, 15000, 2} ]
  • PARI
    isA056994(n) = isprime(n^128+1) \\ Michael B. Porter, Mar 30 2010