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

A115031
a(n) = a(n-1)^a(n-1) - a(n-2)^a(n-2) with a(0)=1 and a(1)=2.
0
1, 2, 3, 23, 20880467999847912034355032910540
OFFSET
0,2
COMMENTS
a(6) is too large to include.
EXAMPLE
23^23 - 3^3 = 20880467999847912034355032910540.
MATHEMATICA
a[0] := 1; a[1] := 2; a[n_] := a[n] = a[n - 1]^a[n - 1] - a[n - 2]^a[n - 2]; Table[Floor[a[n]], {n, 0, 4}] (* G. C. Greubel, Dec 20 2017 *)
nxt[{a_, b_}]:={b, b^b-a^a}; NestList[nxt, {1, 2}, 4][[All, 1]]//Quiet (* Harvey P. Dale, May 10 2021 *)
CROSSREFS
Sequence in context: A260420 A241661 A260071 * A030418 A329456 A037277
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Feb 26 2006
EXTENSIONS
Definition corrected and example added by N. J. A. Sloane, Jun 09 2017
STATUS
approved