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!)
A132294 The first three terms are 1. After that, a(n)=(a(n-1))^2-a(n-2)-a(n-3). 0
1, 1, 1, -1, -1, 1, 3, 9, 77, 5917, 35010803, 1225756326698815, 1502478572442172090395687387505, 2257441860647867366107450759398738024116019978304775668415407 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
LINKS
EXAMPLE
a(9)=9^2-3-1=77.
MATHEMATICA
a[n_]:=a[n]=a[n-1]^2-a[n-2]-a[n-3]; a[1]=a[2]=a[3]=1
Transpose[NestList[Flatten[{Rest[#], Last[#]^2-Total[Most[#]]}]&, {1, 1, 1}, 15]][[1]] (* Harvey P. Dale, Apr 28 2012 *)
CROSSREFS
Sequence in context: A027290 A131496 A367429 * A032330 A018604 A301535
KEYWORD
sign
AUTHOR
Ben Branman, Nov 06 2007, Nov 07 2007
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 July 16 12:01 EDT 2024. Contains 374348 sequences. (Running on oeis4.)