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.

A078901 Generalized Fermat numbers of the form (k+1)^2^m + k^2^m, with m>1.

Original entry on oeis.org

17, 97, 257, 337, 881, 1921, 3697, 6497, 6817, 10657, 16561, 24641, 35377, 49297, 65537, 66977, 72097, 89041, 116161, 149057, 188497, 235297, 290321, 354481, 428737, 456161, 514097, 611617, 722401, 847601, 988417, 1146097, 1321937
Offset: 1

Views

Author

T. D. Noe, Dec 12 2002

Keywords

Comments

It can be shown that, like the Fermat numbers, two of these generalized Fermat numbers are coprime if they have the same base k. However, unlike the Fermat numbers (which are conjectured to be squarefree), these generalized Fermat numbers are not necessarily squarefree for k > 1. Riesel tabulates some prime factors of generalized Fermat numbers for k <= 5.
For k=1, these are the Fermat numbers A000215. See A078900 for the case m>0, which includes the sum of consecutive squares. By Legendre's theorem (Riesel, p. 165), the prime factors of a generalized Fermat number are of the form 1 + f 2^(m+1) for some integer f. See A078902 for generalized Fermat primes.

References

  • H. Riesel, "Prime numbers and computer methods for factorization," Second Edition, Progress in Mathematics, Vol. 126, Birkhauser, Boston, 1994, pp. 417-425.

Crossrefs

Programs

  • Mathematica
    mx=10^7; maxK=Ceiling[Sqrt[mx/2]]; maxM=Ceiling[Log[2, Log[2, mx]]]; lst={}; Do[gf=(k+1)^2^m+k^2^m; If[gf
    				

Extensions

Offset corrected by Sean A. Irvine, Jul 23 2025