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!)
A037791 Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,0,1. 1
3, 29, 261, 2350, 21153, 190379, 1713411, 15420700, 138786303, 1249076729, 11241690561, 101175215050, 910576935453, 8195192419079, 73756731771711, 663810585945400, 5974295273508603 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
G.f.: x*(3-x+x^2) / ( (x-1)*(9*x-1)*(x^2+1) ). - R. J. Mathar, May 01 2015
MATHEMATICA
Module[{nn=20, d}, d=PadRight[{}, nn, {3, 2, 0, 1}]; Table[FromDigits[ Take[ d, n], 9], {n, nn}]] (* Harvey P. Dale, Sep 19 2012 *)
CROSSREFS
Sequence in context: A354402 A135163 A074366 * A037672 A037798 A224754
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 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)