login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037715 Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,3,2,0. 0
1, 13, 132, 1320, 13201, 132013, 1320132, 13201320, 132013201, 1320132013, 13201320132, 132013201320, 1320132013201, 13201320132013, 132013201320132, 1320132013201320 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

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

FORMULA

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

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

PROG

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

CROSSREFS

Sequence in context: A293580 A295349 A161498 * A037617 A295603 A199144

Adjacent sequences:  A037712 A037713 A037714 * A037716 A037717 A037718

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 December 2 19:57 EST 2021. Contains 349445 sequences. (Running on oeis4.)