login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A239899
a(0)=2, a(1)=5; thereafter a(n) = product of all preceding terms, minus 1.
0
2, 5, 9, 89, 8009, 64152089, 4115490587216009, 16937262773463574696951813104089
OFFSET
0,1
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
EXAMPLE
(9 + 1)*9 - 1 = 89, (89 + 1)*89 - 1 = 8009, (8009 + 1)*8009 - 1 = 64152089. - Zak Seidov, Apr 06 2014
PROG
(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
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 05 2014
STATUS
approved