OFFSET
0,2
COMMENTS
LINKS
FORMULA
G.f.: (1-6*x)/((1-x)*(1-10*x)).
a(n) = 4*10^n/9 + 5/9.
a(n) = 10*a(n-1)-5 with a(0)=1. - Vincenzo Librandi, Aug 02 2010
a(n) = 11*a(n-1)-10*a(n-2). - Wesley Ivan Hurt, May 20 2021
E.g.f.: exp(x)*(4*exp(9*x) + 5)/9. - Elmo R. Oliveira, Aug 17 2024
MATHEMATICA
CoefficientList[Series[(1-6x)/((1-x)(1-10x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{11, -10}, {1, 5}, 30] (* or *) Join[{1}, Table[FromDigits[PadLeft[{5}, n, 4]], {n, 30}]] (* Harvey P. Dale, Dec 17 2022 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Mar 24 2004
EXTENSIONS
a(19)-a(22) from Elmo R. Oliveira, Aug 17 2024
STATUS
approved