OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..980
Index entries for linear recurrences with constant coefficients, signature (27,-254,948,-1080).
FORMULA
a(n) = (875*10^n -972*9^n +126*6^n -2^n)/28. - R. J. Mathar, Jun 23 2013
E.g.f.: (875*exp(10*x) - 972*exp(9*x) + 126*exp(6*x) - exp(2*x))/28. - G. C. Greubel, Nov 02 2019
MAPLE
seq((875*10^n -972*9^n +126*6^n -2^n)/28, n=0..30); # G. C. Greubel, Nov 02 2019
MATHEMATICA
Table[(875*10^n -972*9^n +126*6^n -2^n)/28, {n, 0, 30}] (* G. C. Greubel, Nov 02 2019 *)
PROG
(PARI) vector(31, n, (875*10^(n-1) -972*9^(n-1) +126*6^(n-1) -2^(n-1))/28) \\ G. C. Greubel, Nov 02 2019
(Magma) [(875*10^n -972*9^n +126*6^n -2^n)/28: n in [0..30]]; // G. C. Greubel, Nov 02 2019
(Sage) [(875*10^n -972*9^n +126*6^n -2^n)/28 for n in (0..30)] # G. C. Greubel, Nov 02 2019
(GAP) List([0..30], n-> (875*10^n -972*9^n +126*6^n -2^n)/28); # G. C. Greubel, Nov 02 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved