login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A137466
1 concatenated with n 21's.
1
1, 121, 12121, 1212121, 121212121, 12121212121, 1212121212121, 121212121212121, 12121212121212121, 1212121212121212121, 121212121212121212121, 12121212121212121212121, 1212121212121212121212121, 121212121212121212121212121, 12121212121212121212121212121
OFFSET
0,2
FORMULA
From Colin Barker, May 31 2015: (Start)
a(n) = (2^(3+2*n)*5^(1+2*n)-7)/33.
a(n) = 100*a(n-1) + 21.
a(n) = 101*a(n-1) - 100*a(n-2).
G.f.: (20*x+1) / ((x-1)*(100*x-1)).
(End)
EXAMPLE
a(7) = 1 21 21 21 21 21 21 21.
MATHEMATICA
Table[FromDigits[PadRight[{1}, n, {1, 2}]], {n, 1, 31, 2}] (* or *) LinearRecurrence[{101, -100}, {1, 121}, 30] (* Harvey P. Dale, Aug 17 2013 *)
PROG
(PARI) Vec((20*x+1)/((x-1)*(100*x-1)) + O(x^30)) \\ Colin Barker, May 31 2015
CROSSREFS
Sequence in context: A054319 A006061 A079215 * A062689 A057139 A321687
KEYWORD
easy,nonn,base
AUTHOR
Ctibor O. Zizka, Apr 19 2008
EXTENSIONS
More terms from Harvey P. Dale, Aug 17 2013
STATUS
approved