OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,0,1,-8).
FORMULA
From R. J. Mathar, Jan 08 2011: (Start)
a(n) = 8*a(n-1) + a(n-3) - 8*a(n-4).
G.f.: x*(1+x) / ( (x-1)*(8*x-1)*(1+x+x^2) ).
a(n) = floor(72*8^n/511). - Christian Krause, May 21 2026
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 1, 0}], 8], {n, 20}] (* or *) LinearRecurrence[ {8, 0, 1, -8}, {1, 9, 72, 577}, 20] (* Harvey P. Dale, Jul 24 2021 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
More terms from Jason Yuen, Sep 29 2025
STATUS
approved
