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”).

A177090
a(n) = a(n-1) + 12*100^(n-1), with a(0)=0.
2
0, 12, 1212, 121212, 12121212, 1212121212, 121212121212, 12121212121212, 1212121212121212, 121212121212121212, 12121212121212121212, 1212121212121212121212, 121212121212121212121212, 12121212121212121212121212, 1212121212121212121212121212
OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..99 [offset shifted by Georg Fischer, Jun 16 2021]
FORMULA
a(n) = 12*(100^(n-1)-1)/99 = 12*A094028(n-1) for n>=1. - Jon E. Schoenfield, Jun 24 2010
G.f.: 12*x / ( (100*x-1)*(x-1) ). - R. J. Mathar, Aug 24 2011
MAPLE
a:= n-> parse(cat(0, 12$n)):
seq(a(n), n=0..20); # Alois P. Heinz, Jun 16 2021
MATHEMATICA
CoefficientList[Series[12 x /((100 x - 1) (x - 1)), {x, 0, 20}], x] (* Vincenzo Librandi, Jun 13 2014 *)
Table[FromDigits[PadRight[{}, 2n, {1, 2}]], {n, 0, 15}] (* or *) LinearRecurrence[ {101, -100}, {0, 12}, 15] (* Harvey P. Dale, Nov 12 2017 *)
PROG
(Magma) [12*((100^(n-1)-1)/99): n in [1..20]]; // Vincenzo Librandi, Jun 13 2014
CROSSREFS
Sequence in context: A178529 A360502 A201642 * A103269 A317955 A033564
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jun 05 2010
EXTENSIONS
Corrected by N. J. A. Sloane, Jun 22 2010
Offset changed to 0 by Georg Fischer, Jun 16 2021
STATUS
approved