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!)
A166554 a(0)=1, a(n) = n*(a(n-1)-1) for n>0. 3
1, 0, -2, -9, -40, -205, -1236, -8659, -69280, -623529, -6235300, -68588311, -823059744, -10699776685, -149796873604, -2246953104075, -35951249665216, -611171244308689, -11001082397556420, -209020565553571999 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..500

FORMULA

a(n) = -A038156(n) for n>0.

a(n) = n! - floor(e*n!) + 1, n>0. - Gary Detlefs, Jun 06 2010

a(n) = (n+2)*a(n-1) - (2*n-1)*a(n-2) + (n-2)*a(n-3). - R. J. Mathar, Jul 28 2013

MATHEMATICA

RecurrenceTable[{a[0]==1, a[n]==n(a[n-1]-1)}, a[n], {n, 20}] (* Harvey P. Dale, Jul 25 2011 *)

CROSSREFS

Cf. A000142, A165793, A165814.

Sequence in context: A235596 A346577 A052512 * A038156 A296964 A261047

Adjacent sequences:  A166551 A166552 A166553 * A166555 A166556 A166557

KEYWORD

sign

AUTHOR

Philippe Deléham, Oct 16 2009

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 August 6 00:46 EDT 2021. Contains 346493 sequences. (Running on oeis4.)