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!)
A037645 Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,3,1. 0
2, 23, 231, 2312, 23123, 231231, 2312312, 23123123, 231231231, 2312312312, 23123123123, 231231231231, 2312312312312, 23123123123123, 231231231231231, 2312312312312312 (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,1,-10).

FORMULA

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

G.f.: x*(x+2)*(1+x) / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Nov 21 2011

CROSSREFS

Sequence in context: A037631 A026075 A037757 * A100893 A198972 A065122

Adjacent sequences:  A037642 A037643 A037644 * A037646 A037647 A037648

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 18 09:26 EST 2022. Contains 350454 sequences. (Running on oeis4.)