OFFSET
0,2
LINKS
Matthew House, Table of n, a(n) for n = 0..1277
Index entries for linear recurrences with constant coefficients, signature (1,-36).
FORMULA
G.f.:(1+5*x)/(1-x+36*x^2).
a(n) = Sum_{k=0..n} A133607(n,k)*6^k. - Philippe Deléham, Dec 30 2007
MATHEMATICA
CoefficientList[Series[(1+5x)/(1-x+36x^2), {x, 0, 40}], x] (* or *) LinearRecurrence[{1, -36}, {1, 6}, 40] (* Harvey P. Dale, Dec 28 2022 *)
PROG
(PARI) a(n)=([0, 1; -36, 1]^n*[1; 6])[1, 1] \\ Charles R Greathouse IV, Feb 15 2017
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Philippe Deléham, Dec 28 2007
EXTENSIONS
a(18) corrected by Matthew House, Feb 15 2017
STATUS
approved