OFFSET
0,1
COMMENTS
FORMULA
a(n) = a(n-1)^2-a(n-1)-1 and a(0)=9.
a(n) ~ c^(2^n), where c = 8.395688554881795978328174160925857176207363473280394010762212170489... . - Vaclav Kotesovec, May 06 2015
MATHEMATICA
k = 9; a = {k}; Do[k = k^2 - k - 1; AppendTo[a, k], {n, 1, 10}]; a
NestList[#^2 - # - 1 &, 9, 7] (* Harvey P. Dale, Feb 04 2011 *)
PROG
(PARI) a(n, s=9)=for(i=1, n, s=s^2-s-1); s \\ M. F. Hasler, Oct 06 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Sep 20 2008
EXTENSIONS
New initial value a(0)=9 from M. F. Hasler, Oct 20 2014
STATUS
approved