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”).

A109173
Recursive form of A109845 but with a(1)=1.
0
1, 3, 5, 31, 929, 863971, 746445024869, 557180175152428473492031, 310449747582890872093779269721785644810947012929, 96379045774280656880008037888192772255684941220159788508646084243678677683026025975278640171971
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
Cf. A109845.
Sequence in context: A309725 A290888 A318554 * A179387 A295364 A199774
KEYWORD
nonn
AUTHOR
Walter Kehowski, Aug 18 2005
EXTENSIONS
More terms from Harvey P. Dale, Aug 29 2012
STATUS
approved