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!)
A152839 a(0)=1; a(n)=n!-a(n-1)!. 2
0, 0, 1, 5, -96 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
MATHEMATICA
lst={}; a=1; Do[a=n!-a!; AppendTo[lst, a], {n, 0, 4}]; lst
nxt[{n_, a_}] := {n + 1, (n + 1)! - a!}; Transpose[NestList[nxt, {0, 1}, 4]][[2]] (* Harvey P. Dale, Feb 15 2016 *)
CROSSREFS
Sequence in context: A193478 A218463 A192343 * A266245 A194616 A285367
KEYWORD
sign
AUTHOR
EXTENSIONS
Indices added to definition, offset corrected - R. J. Mathar, Jan 08 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 April 24 08:48 EDT 2024. Contains 371930 sequences. (Running on oeis4.)