login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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)
1
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

Robert G. Wilson v, Table of n, a(n) for n = 0..21

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

MATHEMATICA

a[n_] := a[n - 2]^2 - a[n - 3 + If[ EvenQ@ n, 2, 0]]; a[0] = 7; a[1] = 9; Array[a, 14, 0] (* Robert G. Wilson v, Aug 30 2014 *)

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

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 16 00:25 EDT 2018. Contains 313782 sequences. (Running on oeis4.)