login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A052633
E.g.f. x^2*(1+x-x^2)/(1-x)^2.
0
0, 0, 2, 18, 96, 600, 4320, 35280, 322560, 3265920, 36288000, 439084800, 5748019200, 80951270400, 1220496076800, 19615115520000, 334764638208000, 6046686277632000, 115242726703104000, 2311256907767808000
OFFSET
0,3
FORMULA
E.g.f.: -x^2*(-x+x^2-1)/(-1+x)^2.
Recurrence: {a(0)=0, a(1)=0, a(2)=2, a(3)=18; for n > 3, a(n) = a(n-1)*n^2/(n-1)}. [Simplified by Jon E. Schoenfield, Aug 11 2017]
For n > 2, a(n) = n*n!.
MAPLE
spec := [S, {S=Prod(Z, Z, Sequence(Z), Union(Z, Sequence(Z)))}, labeled]: seq(combstruct[count](spec, size=n), n=0..20);
restart:printlevel := -1; a := [0]; T := x->LambertW(-x); f := series(((1+T(x)))/(1-T(x)), x, 24); for m from 1 to 19 do a := [op(a), op(2*m, f)*m! ] od; print(a); # Zerinvary Lajos, Mar 28 2009
MATHEMATICA
With[{nn=20}, CoefficientList[Series[x^2 (1+x-x^2)/(1-x)^2, {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, Apr 27 2016 *)
CROSSREFS
Essentially the same as A001563.
Sequence in context: A157052 A280157 A224616 * A375628 A052638 A127553
KEYWORD
easy,nonn
AUTHOR
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
STATUS
approved