login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A037631
Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,3,0.
0
2, 23, 230, 2302, 23023, 230230, 2302302, 23023023, 230230230, 2302302302, 23023023023, 230230230230, 2302302302302, 23023023023023, 230230230230230, 2302302302302302
OFFSET
1,1
FORMULA
G.f.: x*(2+3*x) / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Nov 21 2011
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 3, 0}]], {n, 20}] (* or *) LinearRecurrence[{10, 0, 1, -10}, {2, 23, 230, 2302}, 20] (* Harvey P. Dale, Jul 03 2024 *)
PROG
(PARI) Vec(x*(2+3*x)/((x-1)*(10*x-1)*(1+x+x^2)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
CROSSREFS
Sequence in context: A083808 A252016 A037750 * A026075 A037757 A037645
KEYWORD
nonn,base,easy
STATUS
approved