OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (101, -100).
FORMULA
From Chai Wah Wu, Jun 17 2020: (Start)
a(n) = 101*a(n-1) - 100*a(n-2) for n > 1.
G.f.: (21*x + 1)/((x - 1)*(100*x - 1)). (End)
MATHEMATICA
NestList[FromDigits[PadRight[IntegerDigits[#], IntegerLength[#]+2, 2]]&, 1, 20] (* Harvey P. Dale, Mar 06 2011 *)
Table[FromDigits[PadRight[{1}, 2n+1, 2]], {n, 0, 20}] (* Harvey P. Dale, Jul 30 2020 *)
PROG
(Magma) [2*(10^(2*n)-1)/9+10^(2*n): n in [0..15]]; // Vincenzo Librandi, Aug 10 2011
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Paul Curtz, Oct 06 2007
STATUS
approved