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.

A144780 Variant of Sylvester's sequence: a(n+1) = a(n)^2 - a(n) + 1, with a(1) = 6.

Original entry on oeis.org

6, 31, 931, 865831, 749662454731, 561993796032558961827631, 315837026779085485103718410756049100028793244531
Offset: 1

Views

Author

Artur Jasinski, Sep 21 2008

Keywords

Crossrefs

Programs

  • Mathematica
    a = {}; k = 6; Do[AppendTo[a, k]; k = k^2 - k + 1, {n, 1, 10}]; a
    NestList[#^2-#+1&,6,10] (* Harvey P. Dale, Dec 19 2024 *)

Formula

a(n+1) = a(n)^2 - a(n) + 1, with a(1) = 6.
a(n) ~ c^(2^n) where is c is 2.350117384... (A144804).

Extensions

a(8) moved to b-file by Hugo Pfoertner, Aug 30 2020