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!)
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
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
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 05:44 EDT 2024. Contains 371918 sequences. (Running on oeis4.)