login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037785 Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,1,2,0. 0
3, 31, 312, 3120, 31203, 312031, 3120312, 31203120, 312031203, 3120312031, 31203120312, 312031203120, 3120312031203, 31203120312031, 312031203120312, 3120312031203120 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: x*(3+x+2*x^2) / ( (x-1)*(10*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Aug 04 2013
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 1, 2, 0}]], {n, 30}] (* Harvey P. Dale, Mar 15 2020 *)
PROG
(PARI) Vec(x*(3+x+2*x^2)/((x-1)*(10*x-1)*(1+x)*(x^2+1)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
CROSSREFS
Sequence in context: A108430 A113075 A111137 * A037589 A247351 A089289
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 04:38 EDT 2024. Contains 371696 sequences. (Running on oeis4.)