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.

A330828 The squares of the Fermat primes, (A019434(n))^2.

Original entry on oeis.org

9, 25, 289, 66049, 4295098369
Offset: 1

Views

Author

Walter Kehowski, Jan 06 2020

Keywords

Comments

Also the first element of the power-spectral basis of A330826. The second element of the power-spectral basis of A330826 is A001146(n+1), n=0..4.

Examples

			a(1) = 3^2 = 9. The spectral basis of A330826(1) = 12 is {9,4}, consisting of primes and powers.
		

Crossrefs

Programs

  • Maple
    F := n -> 2^(2^n) + 1;
    a := proc(n) if isprime(F(n)) then return F(n)^2 fi; end;
    [seq(a(n)),n=0..4)];
  • Mathematica
    (2^2^Select[Range[0,5],PrimeQ[2^(2^#)+1] &]+1)^2 (* Stefano Spezia, May 01 2025 *)

Formula

a(n) = A019434(n)^2.