login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
a(6) is too large to include.
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 09:42 EDT 2024. Contains 371935 sequences. (Running on oeis4.)