OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (19,-116,284,-240).
FORMULA
a(n) = 19*a(n-1) - 116*a(n-2) + 284*a(n-3) - 240*a(n-4), with a(0)=1, a(1)=19, a(2)=245, a(3)=2735. [Harvey P. Dale, Oct 18 2011]
a(n) = (10^(n+3) - 7*4^(n+4) + 16*3^(n+4) - 21*2^(n+3))/336. - Yahia Kahloune, May 19 2013
MATHEMATICA
CoefficientList[Series[1/((1-2x)(1-3x)(1-4x)(1-10x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{19, -116, 284, -240}, {1, 19, 245, 2735}, 31] (* Harvey P. Dale, Oct 18 2011 *)
PROG
(PARI) Vec((-4560*x^3 + 5156*x^2 - 1920*x + 245)/(240*x^4 - 284*x^3 + 116*x^2 - 19*x + 1)+O(x^99)) \\ Charles R Greathouse IV, May 20 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved