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.

A056995 Numbers k such that k^256 + 1 is prime.

Original entry on oeis.org

1, 278, 614, 892, 898, 1348, 1494, 1574, 1938, 2116, 2122, 2278, 2762, 3434, 4094, 4204, 4728, 5712, 5744, 6066, 6508, 6930, 7022, 7332, 8524, 8644, 8762, 8808, 9024, 9142, 9412, 10892, 12206, 13220, 13222, 13246, 13370, 13738, 14114, 14930
Offset: 1

Views

Author

Robert G. Wilson v, Sep 06 2000

Keywords

References

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

Crossrefs

Programs

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