A124166 a(n) = 100*(10^n - 1)/9.
0, 100, 1100, 11100, 111100, 1111100, 11111100, 111111100, 1111111100, 11111111100, 111111111100, 1111111111100, 11111111111100, 111111111111100, 1111111111111100, 11111111111111100, 111111111111111100, 1111111111111111100, 11111111111111111100, 111111111111111111100
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (11,-10).
Programs
-
Maple
a:=n->sum (10^(n-j+2),j=0..n): seq(a(n),n=0..28);
-
Mathematica
Table[FromDigits[PadLeft[{0,0},n,1]],{n,2,20}] (* Harvey P. Dale, Jul 24 2012 *)
-
PARI
concat(0, Vec(100*x/((1-x)*(1-10*x)) + O(x^20))) \\ Elmo R. Oliveira, Jun 18 2025
Formula
From Elmo R. Oliveira, Jun 18 2025: (Start)
G.f.: 100*x/((10*x-1)*(x-1)).
E.g.f.: 100*exp(x)*(exp(9*x) - 1)/9.
a(n) = A161770(n)/10 for n >= 1.
a(n) = 11*a(n-1) - 10*a(n-2). (End)
Extensions
More terms from Elmo R. Oliveira, Jun 18 2025