login
A052695
Expansion of e.g.f. (2-5*x)/((1-x)*(1-4*x)).
1
2, 5, 34, 390, 6168, 123000, 2949840, 82580400, 2642451840, 95127177600, 3805076217600, 167423233824000, 8036313786547200, 417888298219392000, 23401744438751078400, 1404104662402041600000, 89862698330962292736000
OFFSET
0,1
LINKS
FORMULA
E.g.f.: (2-5*x)/((1-x)*(1-4*x)).
D-finite Recurrence: a(0)=2, a(1)=5, a(n) = 5*n*a(n-1) - 4*n*(n-1)*a(n-2).
a(n) = (4^n + 1)*n!.
MAPLE
spec := [S, {S=Union(Sequence(Z), Sequence(Union(Z, Z, Z, Z)))}, labeled]: seq(combstruct[count](spec, size=n), n=0..20);
MATHEMATICA
With[{nn=20}, CoefficientList[Series[(2-5x)/((1-4x)(1-x)), {x, 0, nn}], x] Range[ 0, nn]!] (* Harvey P. Dale, Sep 12 2020 *)
PROG
(SageMath) [factorial(n)*(4^n +1) for n in (0..30)] # G. C. Greubel, May 31 2022
CROSSREFS
Sequence in context: A371615 A356772 A307143 * A184360 A283111 A206830
KEYWORD
easy,nonn
AUTHOR
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
STATUS
approved