OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (21, -147, 379, -252).
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
KEYWORD
nonn
AUTHOR
STATUS
approved