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.

A080131 Conjectured number of generalized Fermat primes of the form (n+1)^2^k + n^2^k, with k>1.

Original entry on oeis.org

3, 1, 2, 1, 2, 2, 1, 2, 1, 1, 0, 2, 1, 2, 0, 1
Offset: 1

Views

Author

T. D. Noe, Jan 30 2003

Keywords

Comments

Primes that are the sum of consecutive integers (k=0) and consecutive squares (k=1) are excluded. Values of k <= 16 were tested. The sequence A078902 lists some of the generalized Fermat primes. Bjorn and Riesel examined generalized Fermat numbers for n <= 11 and k <= 999.

Examples

			a(1) = 3 because there are three Fermat primes (with k>1): 17, 257, 65537.
		

Crossrefs

Programs

  • Mathematica
    lst={}; Do[prms=0; Do[If[PrimeQ[(n+1)^2^k+n^2^k], prms++ ], {k, 2, 16}]; AppendTo[lst, prms], {n, 16}]; lst