login
This site is supported by donations 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

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)+(1/4)*{3*(n mod 4)+3*[(n+2) mod 4]-2*[(n+3) mod 4]}, with a(0)=0 [From Paolo P. Lava, Jul 30 2009]

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

CROSSREFS

Sequence in context: A108430 A113075 A111137 * A037589 A247351 A089289

Adjacent sequences:  A037782 A037783 A037784 * A037786 A037787 A037788

KEYWORD

nonn,base

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 October 23 22:52 EDT 2019. Contains 328378 sequences. (Running on oeis4.)