OFFSET
0,2
COMMENTS
For n >= 1, the digits are a "1", (n-1) times "0", a "1", and (n-1) times "0".
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..250
Index entries for linear recurrences with constant coefficients, signature (110,-1000).
FORMULA
a(n) = 10^(2*n-1) + 10^(n-1) = A163664(n)/10 for n >= 1.
From Elmo R. Oliveira, Nov 21 2025: (Start)
G.f.: (1 - 99*x + 800*x^2)/((100*x-1)*(10*x-1)).
E.g.f.: (8 + exp(10*x) + exp(100*x))/10.
a(n) = 110*a(n-1) - 1000*a(n-2) for n > 2. (End)
MATHEMATICA
Join[{1}, Table[10^(2n-1) + 10^(n-1), {n, 1, 25}]] (* or *) Join[{1}, LinearRecurrence[{110, -1000}, {11, 1010}, 25]] (* G. C. Greubel, Dec 24 2016 *)
PROG
(PARI) concat([1], for(n=1, 50, print1(10^(2*n-1) + 10^(n-1), ", "))) \\ G. C. Greubel, Dec 24 2016
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Jaroslav Krizek, Jul 27 2009
EXTENSIONS
Edited by R. J. Mathar, Aug 06 2009
STATUS
approved
