OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (31,-353,1745,-3150).
FORMULA
a(n)=(8*10^(n+3)-15*9^(n+3)+10*7^(n+3)-3*5^(n+3))/120. [Yahia Kahloune, Jun 04 2013]
MATHEMATICA
CoefficientList[Series[1/((1-5x)(1-7x)(1-9x)(1-10x)), {x, 0, 20}], x] (* or *) LinearRecurrence[{31, -353, 1745, -3150}, {1, 31, 608, 9650}, 20] (* Harvey P. Dale, Apr 01 2018 *)
PROG
(Magma) I:=[1, 31, 608, 9650]; [n le 4 select I[n] else 31*Self(n-1)-353*Self(n-2)+1745*Self(n-3)-3150*Self(n-4): n in [1..25]]; // Vincenzo Librandi, Apr 02 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved