OFFSET
0,2
COMMENTS
Main diagonal of array defined by m(1,j) = j; m(i,1) = i and m(i,j) = m(i-1,j) + 5*m(i-1,j-1). - Benoit Cloitre, Jun 13 2003
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..300
Index entries for linear recurrences with constant coefficients, signature (12,-36).
FORMULA
a(n) = 12*a(n-1) - 36*a(n-2) with n > 1, a(0) = 1, a(1) = 7.
a(n) = (n + 6)*6^(n-1).
G.f.: (1 - 5*x)/(1 - 6*x)^2.
E.g.f.: exp(6*x)*(1 + x). - Stefano Spezia, Mar 05 2023
MATHEMATICA
CoefficientList[Series[(1 - 5 x)/(1 - 6 x)^2, {x, 0, 30}], x] (* Vincenzo Librandi, Aug 06 2013 *)
LinearRecurrence[{12, -36}, {1, 7}, 30] (* Harvey P. Dale, Nov 07 2013 *)
PROG
(Magma) [(n+6)*6^(n-1): n in [0..25]]; // Vincenzo Librandi, Aug 06 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Mar 07 2003
STATUS
approved