OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (25,-221,815,-1050).
FORMULA
a(n) = (8*10^(n+3)-5*7^(n+4)+42*5^(n+3)-5*3^(n+4))/840. - Yahia Kahloune, Jun 08 2013
MATHEMATICA
CoefficientList[Series[1/((1-3x)(1-5x)(1-7x)(1-10x)), {x, 0, 20}], x] (* Harvey P. Dale, Jan 29 2020 *)
Table[(8 10^(n + 3) - 5 7^(n + 4) + 42 5^(n + 3) - 5 3^(n + 4)) / 840, {n, 0, 40}] (* Vincenzo Librandi, Jan 30 2020 *)
PROG
(Magma) m:=30; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!( 1/((1-3*x)*(1-5*x)*(1-7*x)*(1-10*x)))); // Vincenzo Librandi, Jan 30 2020
(PARI) a(n)=(8*10^(n+3)-5*7^(n+4)+42*5^(n+3)-5*3^(n+4))/840 \\ Charles R Greathouse IV, Jul 05 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved