OFFSET
1,1
COMMENTS
Column 5 of A206455.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
Index entries for linear recurrences with constant coefficients, signature (6,0,0,0,0,-1).
FORMULA
a(n) = 6*a(n-1) - a(n-6).
Empirical: a(n) = Sum_{i=0..floor(n/6)} ((-1)^i*6^(n-6*i)*binomial(n-5*i,i)).
g.f.: x*(6 - x^5) / (1 - 6*x + x^6). - Colin Barker, Jun 16 2018
PROG
(PARI) a(n)=([0, 1, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0; 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 1; -1, 0, 0, 0, 0, 6]^(n-1)*[6; 36; 216; 1296; 7776; 46655])[1, 1] \\ Charles R Greathouse IV, May 30 2026
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
R. H. Hardin, Feb 07 2012
STATUS
approved
