The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A037798 Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,1,0. 1
3, 29, 262, 2358, 21225, 191027, 1719244, 15473196, 139258767, 1253328905, 11279960146, 101519641314, 913676771829, 8223090946463, 74007818518168, 666070366663512, 5994633299971611 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: x*(3+2*x+x^2) / ( (x-1)*(9*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
Module[{nn=20, c}, c=PadRight[{}, nn, {3, 2, 1, 0}]; Table[FromDigits[ Take[ c, n], 9], {n, nn}]] (* Harvey P. Dale, Apr 01 2014 *)
CROSSREFS
Sequence in context: A074366 A037791 A037672 * A224754 A162928 A124263
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 June 1 15:30 EDT 2024. Contains 373025 sequences. (Running on oeis4.)