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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037680 Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,0,2,3. 0
1, 10, 102, 1023, 10231, 102310, 1023102, 10231023, 102310231, 1023102310, 10231023102, 102310231023, 1023102310231, 10231023102310, 102310231023102, 1023102310231023 (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)*(-((n+1) mod 4) + 2*((n+2) mod 4) + 3*((n+3) mod 4)), with a(0)=0. - Paolo P. Lava, Jul 30 2009

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

PROG

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

CROSSREFS

Sequence in context: A078282 A336401 A037503 * A038378 A158242 A147636

Adjacent sequences:  A037677 A037678 A037679 * A037681 A037682 A037683

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 September 18 04:22 EDT 2021. Contains 347508 sequences. (Running on oeis4.)