OFFSET
0,1
COMMENTS
a(0)=3 is the smallest integer generating an increasing sequence of the form a(n)=a(n-1)^2-a(n-1)-1.
FORMULA
a(n)=a(n-1)^2-a(n-1)-1 and a(0)=4.
a(n) ~ c^(2^n), where c = 3.22737450272053234771396610986262048906046050824600724014923334412606964... . - Vaclav Kotesovec, May 06 2015
MATHEMATICA
a = {}; k = 4; Do[k = k^2 - k - 1; AppendTo[a, k], {n, 1, 10}]; a
PROG
(PARI) a(n, s=4)={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
Edited by M. F. Hasler, Oct 06 2014
STATUS
approved