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

A037589
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,1.
1
3, 31, 313, 3131, 31313, 313131, 3131313, 31313131, 313131313, 3131313131, 31313131313, 313131313131, 3131313131313, 31313131313131, 313131313131313, 3131313131313131
OFFSET
1,1
FORMULA
G.f.: x*(3+x)/(1-10*x-x^2+10*x^3). - Jaume Oliver Lafont, Mar 24 2009
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 1}]], {n, 20}] (* Harvey P. Dale, Oct 19 2016 *)
CROSSREFS
Sequence in context: A113075 A111137 A037785 * A247351 A089289 A011545
KEYWORD
nonn,base,easy
STATUS
approved

  NODES
orte 1
see 1
Story 1