OFFSET
1,1
COMMENTS
The digit pattern is (for n>1): one 1, (n-2) times 0, one 1, and n times 0.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..250
Index entries for linear recurrences with constant coefficients, signature (110,-1000).
FORMULA
a(n) = 10^(2n-1) + 10^n, for n >= 2.
a(n) = 110*a(n-1) -1000*a(n-2), n>3.
G.f.: 100*x*(1 - 99*x + 800*x^2) / ((-1 + 10*x)*(-1 + 100*x)). - G. C. Greubel, Dec 24 2016
MATHEMATICA
Join[{100}, LinearRecurrence[{110, -1000}, {1100, 101000}, 50]] (* or *) Join[{100}, Table[10^(2n-1) + 10^n, {n, 1, 25}]] (* G. C. Greubel, Dec 24 2016 *)
PROG
(PARI) Vec(100*x*(1 - 99*x + 800*x^2)/((-1 + 10*x)*(-1 + 100*x)) + O(x^50)) \\ G. C. Greubel, Dec 24 2016
(Magma) [100] cat [10^(2*n-1)+10^n: n in [2..20]]; // Vincenzo Librandi, Dec 24 2016
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Jaroslav Krizek, Jul 27 2009
EXTENSIONS
Recurrence added by R. J. Mathar, Oct 21 2009
STATUS
approved