|
| |
|
|
A007449
|
|
a(0) = 7, a(1) = 9; for n >= 0, a(2n+1) = a(2n-1)^2 - a(2n-2), a(2n+2) = a(2n)^2 - a(2n+1).
(Formerly M4337)
|
|
0
|
|
|
|
7, 9, 40, 74, 1526, 5436, 2323240, 29548570, 5397414549030, 873117986721660, 29132083813207600287219240, 762335018736884842676898606570, 848678307299752276902028307632840866100214927571030
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
0,1
|
|
|
REFERENCES
|
Intelligence test in Chess Life, Vol. 49(#6) 1994, p. 14.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
|
LINKS
|
Table of n, a(n) for n=0..12.
|
|
|
FORMULA
|
a(n+1) = a(n-1)^2 - a(n - 2*(1 - n mod 2)), a(0)=7, a(1)=9. - Reinhard Zumkeller, Mar 25 2003
|
|
|
PROG
|
(PARI) a(n)=if(n<0, 0, if(n<2, [7, 9][n+1], a(n-2)^2-a(n-2+(-1)^n)))
|
|
|
CROSSREFS
|
Sequence in context: A057590 A140787 A032695 * A189053 A067649 A025631
Adjacent sequences: A007446 A007447 A007448 * A007450 A007451 A007452
|
|
|
KEYWORD
|
nonn,easy
|
|
|
AUTHOR
|
N. J. A. Sloane.
|
|
|
EXTENSIONS
|
More terms from Reinhard Zumkeller, Mar 25 2003
|
|
|
STATUS
|
approved
|
| |
|
|