OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (12,-36).
FORMULA
G.f.: (1-30*x)/(1-6*x)^2.
E.g.f.: (1-24*x)*exp(6*x). - G. C. Greubel, Jun 16 2022
MATHEMATICA
Table[6^n (1-4n), {n, 0, 20}] (* Harvey P. Dale, Apr 01 2011 *)
PROG
(Magma) [(1-4*n)*6^n: n in [0..30]]; // G. C. Greubel, Jun 16 2022
(SageMath) [(1-4*n)*6^n for n in (0..30)] # G. C. Greubel, Jun 16 2022
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Paul Barry, Sep 19 2008
STATUS
approved