|
Search: id:A059417
|
|
|
| A059417 |
|
Start with 1; square; add 2; subtract 1; repeat. |
|
+0 1
|
|
| 1, 1, 3, 2, 4, 6, 5, 25, 27, 26, 676, 678, 677, 458329, 458331, 458330, 210066388900, 210066388902, 210066388901, 44127887745906175987801, 44127887745906175987803, 44127887745906175987802
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
REFERENCES
|
Seen on a quiz.
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=0,...,36
|
|
PROGRAM
|
(PARI) { for (n = 0, 36, if (n==0, a=1, if (n%3 == 1, a*=a, if (n%3==2, a+=2, if (n%3==0, a-=1)))); write("b059417.txt", n, " ", a); ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 26 2009]
|
|
CROSSREFS
|
Sequence in context: A116942 A093573 A126290 this_sequence A078824 A014685 A021312
Adjacent sequences: A059414 A059415 A059416 this_sequence A059418 A059419 A059420
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Jonathan Scharff (jonscharff(AT)home.com), Jan 30 2001
|
|
EXTENSIONS
|
More terms from Larry Reeves (larryr(AT)acm.org), Jan 31 2001. The next term has 46 digits.
|
|
|
Search completed in 0.002 seconds
|