|
|
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
|
Table of n, a(n) for n=1..14.
|
|
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: A018576 A027290 A131496 * A032330 A018604 A301535
Adjacent sequences: A132291 A132292 A132293 * A132295 A132296 A132297
|
|
KEYWORD
|
sign
|
|
AUTHOR
|
Ben Branman, Nov 06 2007, Nov 07 2007
|
|
STATUS
|
approved
|
|
|
|