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!)
A037764 Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,0,1,2. 0
3, 30, 301, 3012, 30123, 301230, 3012301, 30123012, 301230123, 3012301230, 30123012301, 301230123012, 3012301230123, 30123012301230, 301230123012301, 3012301230123012 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..16.

Index entries for linear recurrences with constant coefficients, signature (10,0,0,1,-10).

FORMULA

a(n) = 10*a(n-1) + ((n+2) mod 4), with a(0)=0. - Paolo P. Lava, Jul 30 2009

G.f.: x*(3+x^2+2*x^3) / ( (x-1)*(10*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Aug 04 2013

MATHEMATICA

Table[FromDigits[PadRight[{}, n, {3, 0, 1, 2}]], {n, 20}] (* Harvey P. Dale, Dec 07 2015 *)

PROG

(PARI) Vec(x*(3+x^2+2*x^3)/((x-1)*(10*x-1)*(1+x)*(x^2+1)) + O(x^25)) \\ Jinyuan Wang, Apr 14 2020

CROSSREFS

Sequence in context: A136947 A093138 A073557 * A037652 A037771 A037659

Adjacent sequences:  A037761 A037762 A037763 * A037765 A037766 A037767

KEYWORD

nonn,base,easy

AUTHOR

Clark Kimberling

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 June 30 03:34 EDT 2022. Contains 354913 sequences. (Running on oeis4.)