login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037788 Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,0,1. 0
3, 20, 120, 721, 4329, 25976, 155856, 935137, 5610825, 33664952, 201989712, 1211938273, 7271629641, 43629777848, 261778667088, 1570672002529, 9424032015177, 56544192091064, 339265152546384, 2035590915278305 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

Index entries for linear recurrences with constant coefficients, signature (7,-7,7,-6).

FORMULA

G.f.: x*(3-x+x^2) / ( (x-1)*(6*x-1)*(x^2+1) ). - R. J. Mathar, May 01 2015

MATHEMATICA

CoefficientList[Series[(3 - x + x^2)/((x - 1)*(6*x - 1)*(x^2 + 1)), {x, 0, 30}], x] (* Wesley Ivan Hurt, May 03 2017 *)

Table[FromDigits[PadRight[{}, n, {3, 2, 0, 1}], 6], {n, 20}] (* Michael De Vlieger, May 03 2017 *)

CROSSREFS

Sequence in context: A164535 A001652 A128910 * A037669 A228066 A009125

Adjacent sequences:  A037785 A037786 A037787 * A037789 A037790 A037791

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 November 11 22:31 EST 2019. Contains 329046 sequences. (Running on oeis4.)