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!)
A052579 E.g.f. (2+x+x^2)/((1-x)(1+x+x^2)). 0
2, 1, 2, 12, 24, 120, 1440, 5040, 40320, 725760, 3628800, 39916800, 958003200, 6227020800, 87178291200, 2615348736000, 20922789888000, 355687428096000, 12804747411456000, 121645100408832000, 2432902008176640000 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..20.

INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 523

FORMULA

E.g.f.: -(x^2+x+2)/(-1+x)/(1+x+x^2)

Recurrence: {a(1)=1, a(2)=2, a(0)=2, (-11*n-6-n^3-6*n^2)*a(n)+a(n+3)=0}

(4/3+Sum(1/3*_alpha^(-n), _alpha=RootOf(_Z^2+_Z+1)))*n!

a(n) = n!*A131534(n+1). - R. J. Mathar, Nov 27 2011

MAPLE

spec := [S, {S=Union(Sequence(Prod(Z, Z, Z)), Sequence(Z))}, labeled]: seq(combstruct[count](spec, size=n), n=0..20);

MATHEMATICA

With[{nn=20}, CoefficientList[Series[(2+x+x^2)/((1-x)(1+x+x^2)), {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, May 10 2019 *)

CROSSREFS

Sequence in context: A324121 A320834 A342463 * A266314 A153908 A048296

Adjacent sequences:  A052576 A052577 A052578 * A052580 A052581 A052582

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 25 21:44 EDT 2021. Contains 346294 sequences. (Running on oeis4.)