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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A121989 a(n) = (n - 1)*(a(n - 2) - a(n - 3) + 1), a(0) = a(1) = a(2) = 1. 1
1, 1, 1, 2, 3, 8, 10, 36, 21, 216, -126, 1960, -3751, 25044, -74230, 403144, -1489095, 7638000, -32168046, 164287728, -756314855, 3929115500, -19332654222, 103079467832, -535020703583, 2937890929320, -15952504285350, 90295702455504, -510040670796063, 2974949788743940 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..451

MATHEMATICA

RecurrenceTable[{a[0]==a[1]==a[2]==1, a[n]==(n-1)a[n-2]-(n-1)a[n-3]+ n-1}, a, {n, 30}] (* Harvey P. Dale, Dec 08 2011 *)

CROSSREFS

Sequence in context: A218910 A107401 A165153 * A320843 A010786 A248822

Adjacent sequences:  A121986 A121987 A121988 * A121990 A121991 A121992

KEYWORD

sign,easy

AUTHOR

Roger L. Bagula, Sep 11 2006

EXTENSIONS

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

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 March 19 04:23 EDT 2019. Contains 321311 sequences. (Running on oeis4.)