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!)
A037799 Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,2,1,0. 0
3, 32, 321, 3210, 32103, 321032, 3210321, 32103210, 321032103, 3210321032, 32103210321, 321032103210, 3210321032103, 32103210321032, 321032103210321, 3210321032103210 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: x*(3+2*x+x^2) / ( (x-1)*(10*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Aug 04 2013
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 2, 1, 0}]], {n, 20}] (* or *) LinearRecurrence[ {10, 0, 0, 1, -10}, {3, 32, 321, 3210, 32103}, 20] (* Harvey P. Dale, Apr 06 2017 *)
CROSSREFS
Sequence in context: A029502 A037792 A037673 * A091706 A091705 A137215
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 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)