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!)
A052699 Expansion of e.g.f. (1+x^5-x^6)/(1-x). 2
1, 1, 2, 6, 24, 240, 720, 5040, 40320, 362880, 3628800, 39916800, 479001600, 6227020800, 87178291200, 1307674368000, 20922789888000, 355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
E.g.f.: (1+x^5-x^6)/(1-x).
a(n+1) = (n+1)*a(n), for n > 5.
a(n) = n! + 5!*[n=5].
MAPLE
spec := [S, {S=Union(Sequence(Z), Prod(Z, Z, Z, Z, Z))}, labeled]: seq(combstruct[count](spec, size=n), n=0..20);
MATHEMATICA
With[{nn=20}, CoefficientList[Series[(1+x^5-x^6)/(1-x), {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, Feb 04 2014 *)
Table[n! + 5!*Boole[n==5], {n, 0, 40}] (* G. C. Greubel, May 31 2022 *)
PROG
(SageMath) [factorial(n) + factorial(5)*bool(n==5) for n in (0..30)] # G. C. Greubel, May 31 2022
CROSSREFS
Cf. A000142.
Sequence in context: A347895 A355284 A034874 * A074351 A352060 A346121
KEYWORD
easy,nonn
AUTHOR
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)