|
|
A052679
|
|
Expansion of e.g.f. (1-x^2)/(1-x^2-x^3).
|
|
1
|
|
|
1, 0, 0, 6, 0, 120, 720, 5040, 80640, 725760, 10886400, 159667200, 2395008000, 43589145600, 784604620800, 15692092416000, 334764638208000, 7469435990016000, 179266463760384000, 4500868715126784000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
LINKS
|
|
|
FORMULA
|
E.g.f.: (1 - x^2)/(1 - x^2 - x^3).
Recurrence: a(0)=1, a(1)=0, a(2)=0, a(n+3) = (6 + 5*n + n^2)*a(n+1) + (6 + 11*n + 6*n^2 + n^3)*a(n).
a(n) = (n!/23)*Sum_{alpha=RootOf(Z^3 +Z^2 -1)} (-6 + 9*alpha + 4*alpha^2)*alpha^(-1-n).
|
|
MAPLE
|
spec := [S, {S=Sequence(Prod(Z, Z, Z, Sequence(Prod(Z, Z))))}, labeled]: seq(combstruct[count](spec, size=n), n=0..20);
restart: G(x):=(1-x-x^2)/(-1+x^2+x^3): f[0]:=G(x): for n from 1 to 30 do f[n]:=diff(f[n-1], x) od: x:=0: seq(f[n]/n, n=1..20); # Zerinvary Lajos, Mar 27 2009
|
|
MATHEMATICA
|
With[{nn=20}, CoefficientList[Series[(1-x^2)/(1-x^2-x^3), {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, May 21 2018 *)
|
|
PROG
|
(Magma) R<x>:=PowerSeriesRing(Rationals(), 30); Coefficients(R!(Laplace( (1 - x^2)/(1-x^2-x^3) ))); // G. C. Greubel, Jun 11 2022
(SageMath)
@CachedFunction
if (n<3): return bool(n==0)
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
|
|
STATUS
|
approved
|
|
|
|