The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A037666 Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,1,0. 0
3, 31, 310, 3103, 31031, 310310, 3103103, 31031031, 310310310, 3103103103, 31031031031, 310310310310, 3103103103103, 31031031031031, 310310310310310, 3103103103103103 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: x*(3+x) / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Aug 04 2013
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 1, 0}]], {n, 30}] (* or *) LinearRecurrence[ {10, 0, 1, -10}, {3, 31, 310, 3103}, 30] (* Harvey P. Dale, Oct 11 2020 *)
PROG
(PARI) Vec(x*(3+x)/((x-1)*(10*x-1)*(1+x+x^2)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020
CROSSREFS
Sequence in context: A069589 A222090 A037778 * A065837 A100894 A065533
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 May 16 11:17 EDT 2024. Contains 372552 sequences. (Running on oeis4.)