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

 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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A051285 a(1) = 1, a(2) = 2, a(n) = a(n-1)^a(n-2). 4
 1, 2, 2, 4, 16, 65536, 115792089237316195423570985008687907853269984665640564039457584007913129639936 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS MATHEMATICA RecurrenceTable[{a[1]==1, a[2]==2, a[n]==a[n-1]^a[n-2]}, a, {n, 7}] (* Vincenzo Librandi, Dec 17 2015 *) PROG (Magma) I:=[1, 2]; [n le 2 select I[n] else Self(n-1)^Self(n-2): n in [1..7]]; // Vincenzo Librandi, Dec 17 2015 (PARI) a(n) = if(n<3, n, a(n-1)^a(n-2)); \\ Altug Alkan, Dec 17 2015 CROSSREFS Sequence in context: A070283 A070282 A267218 * A079556 A232161 A335684 Adjacent sequences: A051282 A051283 A051284 * A051286 A051287 A051288 KEYWORD easy,nonn AUTHOR Matt Kasper (matt192837(AT)hotmail.com) EXTENSIONS Name changed and first term added by Natan Arie Consigli, Dec 17 2015 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.

Last modified November 27 19:48 EST 2022. Contains 358406 sequences. (Running on oeis4.)