OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Silvana Ramaj, New Results on Cyclic Compositions and Multicompositions, Master's Thesis, Georgia Southern Univ., 2021. See p. 67.
Index entries for linear recurrences with constant coefficients, signature (12,-36).
FORMULA
a(n) = 12*a(n-1) - 36*a(n-2) for n>1, a(0)=1, a(1)=9.
a(n) = (5*n+6)*6^(n-1).
a(n) = Sum_{k=0..n} (k+1)*5^k*binomial(n, k).
G.f.: (1-x)/(1-6x)^2.
MATHEMATICA
CoefficientList[Series[(1 - x)/(1 - 6 x)^2, {x, 0, 30}], x] (* Vincenzo Librandi, Aug 06 2013 *)
LinearRecurrence[{12, -36}, {1, 11}, 20] (* Harvey P. Dale, Mar 04 2019 *)
PROG
(Magma) [(5*n+6)*6^(n-1): n in [0..25]]; // Vincenzo Librandi, Aug 06 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Mar 04 2003
STATUS
approved