OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (28,-273,1098,-1512).
FORMULA
a(n) = (2*12^(n+3)-27*7^(n+3)+30*6^(n+3)-5*3^(n+3))/540. - Yahia Kahloune, Jun 10 2013
a(n) = 28*a(n-1)-273*a(n-2)+1098*a(n-3)-1512*a(n-4). - Wesley Ivan Hurt, Oct 21 2014
MAPLE
A028078:=n->(2*12^(n+3)-27*7^(n+3)+30*6^(n+3)-5*3^(n+3))/540: seq(A028078(n), n=0..20); # Wesley Ivan Hurt, Oct 21 2014
MATHEMATICA
CoefficientList[Series[1/((1 - 3 x) (1 - 6 x) (1 - 7 x) (1 - 12 x)), {x, 0, 20}], x] (* Wesley Ivan Hurt, Oct 21 2014 *)
LinearRecurrence[{28, -273, 1098, -1512}, {1, 28, 511, 7762}, 20] (* Harvey P. Dale, Oct 10 2020 *)
PROG
(Magma) [(2*12^(n+3)-27*7^(n+3)+30*6^(n+3)-5*3^(n+3))/540 : n in [0..20]]; // Wesley Ivan Hurt, Oct 21 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved