|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: 12*x / ( (100*x-1)*(x-1) ). - R. J. Mathar, Aug 24 2011
|
|
MAPLE
|
a:= n-> parse(cat(0, 12$n)):
|
|
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
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|