OFFSET
1,1
COMMENTS
Column 7 of A206455.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
Index entries for linear recurrences with constant coefficients, signature (8,0,0,0,0,0,0,-1).
FORMULA
a(n) = 8*a(n-1) - a(n-8).
a(n) = Sum_{i=0..floor(n/8)} (-1)^i*8^(n-8*i)*binomial(n-7*i,i).
G.f.: x*(8 - x^7) / (1 - 8*x + x^8). - Colin Barker, Jun 16 2018
MATHEMATICA
Table[Sum[(-1)^i*8^(n-8*i)*Binomial[n-7*i, i], {i, 0, Floor[n/8]}], {n, 20}] (* Stefano Spezia, Feb 12 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Feb 07 2012
STATUS
approved