OFFSET
1,2
COMMENTS
The next term -- a(11) -- has 190 digits. - Harvey P. Dale, Aug 29 2012
FORMULA
a(1) = 1, a(n)=a(n-1)^2+(-1)^n*a(n-1)+(-1)^n
MAPLE
a := proc(n) option remember; if n=1 then 1 else a(n-1)^2+(-1)^n*a(n-1)+(-1)^n fi end:
MATHEMATICA
RecurrenceTable[{a[1]==1, a[n]==a[n-1]^2+(-1)^n a[n-1]+(-1)^n}, a, {n, 10}] (* Harvey P. Dale, Aug 29 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Walter Kehowski, Aug 18 2005
EXTENSIONS
More terms from Harvey P. Dale, Aug 29 2012
STATUS
approved