[go: up one dir, main page]

login
A021864
Expansion of 1/((1-x)(1-4x)(1-7x)(1-9x)).
1
1, 21, 294, 3466, 37275, 379407, 3727648, 35761572, 337430709, 3146261833, 29083452762, 267126341118, 2441786303503, 22239710844099, 202003194298836, 1830950757258904, 16569016601938857, 149754390830203005
OFFSET
0,2
FORMULA
a(n) = 21*a(n-1) - 147*a(n-2) + 379*a(n-3) - 252*a(n-4), with a(0)=1, a(1)=21, a(2)=294, a(3)=3466. - Harvey P. Dale, Feb 01 2013
a(n) = (9^(n+4) - 20*7^(n+3) + 4^(n+5) - 5)/720. [Yahia Kahloune, Jun 26 2013]
MATHEMATICA
CoefficientList[Series[1/((1-x)(1-4x)(1-7x)(1-9x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{21, -147, 379, -252}, {1, 21, 294, 3466}, 30] (* Harvey P. Dale, Feb 01 2013 *)
CROSSREFS
Sequence in context: A181381 A081137 A027474 * A020570 A025940 A041844
KEYWORD
nonn
AUTHOR
STATUS
approved