OFFSET
0,1
COMMENTS
The first 6 entries of the sequence are primes.
The Fermat numbers F(.)=A000215(.) obey equations with flipped signs of the +-2 if compared with the a(n) (see the formula section): F(n) = Prod{i=0,...,n-1} F(i)+2 and F(n) = F(n-1) *(F(n-1)-2)+2. - Vladimir Shevelev, Dec 08 2010
FORMULA
a(n)= ( product_{i=0..n-1} a(i)) -2, n>=1.
a(n) = a(n-1)*( a(n-1)+2 )-2, n>=2. - Vladimir Shevelev, Dec 08 2010
MATHEMATICA
Clear[a, n];
a[ -1] := 1; a[0] := 5;
a[n_] := a[n] = Product[a[i], {i, 0, n - 1}] - 2;
Table[a[n], {n, 0, 10}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, May 28 2010
EXTENSIONS
Definition simplified by the Assoc. Eds. of the OEIS, Jun 07 2010
STATUS
approved