OFFSET
0,1
LINKS
Colin Barker, Table of n, a(n) for n = 0..100
Index entries for linear recurrences with constant coefficients, signature (111,-1110,1000).
FORMULA
From Colin Barker, Feb 25 2020: (Start)
G.f.: (8 - 727*x + 1610*x^2) / ((1 - x)*(1 - 10*x)*(1 - 100*x)).
a(n) = 111*a(n-1) - 1110*a(n-2) + 1000*a(n-3) for n>2.
(End)
E.g.f.: exp(x)*(1 + 6*exp(9*x) + exp(99*x)). - Stefano Spezia, Feb 25 2020
MATHEMATICA
Join[{8}, Table[FromDigits[Join[{1}, PadRight[{}, n, 0], {6}, PadRight[{}, n, 0], {1}]], {n, 0, 10}]] (* Harvey P. Dale, May 15 2014 *)
PROG
(PARI) a(n) = 1 + 6*10^n + 100^n; \\ Jinyuan Wang, Feb 25 2020
(PARI) Vec((8 - 727*x + 1610*x^2) / ((1 - x)*(1 - 10*x)*(1 - 100*x)) + O(x^15)) \\ Colin Barker, Feb 25 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jason Earls, Dec 09 2009
EXTENSIONS
More terms from Jinyuan Wang, Feb 25 2020
STATUS
approved