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.

Showing 1-2 of 2 results.

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

Original entry on oeis.org

11, 111, 12211, 149096311, 22229709804712411, 494159998001727075769152612720511, 244194103625066907517263589918036880566782292998362610615987380611
Offset: 1

Views

Author

Artur Jasinski, Sep 21 2008

Keywords

Comments

For the "exact" formula, compare the Aho-Sloane reference in A000058. - N. J. A. Sloane, Apr 07 2014

Crossrefs

Programs

  • Mathematica
    a = {}; r = 11; Do[AppendTo[a, r]; r = r^2 - r + 1, {n, 1, 10}]; a

Formula

a(n+1) = a(n)^2 - a(n) + 1, with a(1) = 11.
a(n) ~ c^(2^n) where c = 3.242214... (see A144808).

A239899 a(0)=2, a(1)=5; thereafter a(n) = product of all preceding terms, minus 1.

Original entry on oeis.org

2, 5, 9, 89, 8009, 64152089, 4115490587216009, 16937262773463574696951813104089
Offset: 0

Views

Author

N. J. A. Sloane, Apr 05 2014

Keywords

Examples

			(9 + 1)*9 - 1 = 89, (89 + 1)*89 - 1 = 8009, (8009 + 1)*8009 - 1 = 64152089. - _Zak Seidov_, Apr 06 2014
		

Crossrefs

Programs

  • Magma
    I:=[2, 5, 9]; [n le 3 select I[n] else Self(n-1)*(Self(n-1)+1)-1: n in [1..10]]; // Vincenzo Librandi, May 22 2014

Formula

a(n) == 8 mod 9, for n > 2. - Ivan N. Ianakiev, Apr 06 2014
a(n) = (a(n-1)+1)*a(n-1)-1, for n > 2. - Zak Seidov, Apr 06 2014
Showing 1-2 of 2 results.