login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A122592 a(n) = a(n-1) - 2*a(n-1) + a(n-3) + (a(n-2) - a(n-1))^2 + (a(n-2) - a(n-3))^2. 0
1, 1, 1, 0, 2, 4, 4, 2, 6, 18, 144, 15882, 247684656, 61339821614663208, 3762573685332838515711641628032454, 14156960737559137644661747812427568488753428461913274274176986277422 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,5

LINKS

Table of n, a(n) for n=1..16.

MATHEMATICA

a[0] = 1; a[1] = 1; a[2] = 1; a[n_] := a[n] = a[n - 1] - 2*a[n - 1] + a[n - 3] + (a[n - 2] - a[n - 1])^2 + (a[n - 2] - a[n - 3])^2; Table[a[n], {n, 0, 17}]

RecurrenceTable[{a[1]==a[2]==a[3]==1, a[n]==-a[n-1]+a[n-3]+(a[n-2]-a[n-1])^2+(a[n-2]-a[n-3])^2}, a, {n, 20}] (* Harvey P. Dale, Dec 18 2012 *)

CROSSREFS

Sequence in context: A206389 A206503 A323938 * A099264 A011172 A193028

Adjacent sequences:  A122589 A122590 A122591 * A122593 A122594 A122595

KEYWORD

nonn

AUTHOR

Roger L. Bagula, Sep 19 2006

EXTENSIONS

Edited by N. J. A. Sloane, Sep 21 2006

Definition corrected by Harvey P. Dale, Dec 18 2012

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 11 18:21 EDT 2021. Contains 343808 sequences. (Running on oeis4.)