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.

A028400 a(n) = (2^n + 1)^2.

Original entry on oeis.org

4, 9, 25, 81, 289, 1089, 4225, 16641, 66049, 263169, 1050625, 4198401, 16785409, 67125249, 268468225, 1073807361, 4295098369, 17180131329, 68720001025, 274878955521, 1099513724929, 4398050705409, 17592194433025
Offset: 0

Views

Author

Keywords

Programs

  • Mathematica
    LinearRecurrence[{7,-14,8},{4,9,25},30] (* Harvey P. Dale, Aug 02 2025 *)
  • PARI
    a(n)=(2^n + 1)^2

Formula

a(n) = A000051(n)^2. - R. J. Mathar, Nov 27 2015
G.f.: ( -4+19*x-18*x^2 ) / ( (x-1)*(2*x-1)*(4*x-1) ). - R. J. Mathar, Nov 27 2015