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!)
A166680 a(n) = n*(a(n-1)-4), a(0) = 1. 1
1, -3, -14, -54, -232, -1180, -7104, -49756, -398080, -3582756, -35827600, -394103644, -4729243776, -61480169140, -860722368016, -12910835520300, -206573368324864, -3511747261522756, -63211450707409680 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = n! - 4*floor(e*n!) + 4, n>0. - Gary Detlefs, Jun 19 2010
MATHEMATICA
RecurrenceTable[{a[0]==1, a[n]==n(a[n-1]-4)}, a, {n, 20}] (* Harvey P. Dale, Apr 18 2014 *)
FoldList[#1*#2 - 4 #2 &, 1, Range[50]] (* G. C. Greubel, May 23 2016 *)
CROSSREFS
Sequence in context: A099487 A179610 A343543 * A104191 A318125 A151540
KEYWORD
easy,sign
AUTHOR
Philippe Deléham, Oct 18 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 5 11:23 EDT 2024. Contains 374026 sequences. (Running on oeis4.)