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.

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