login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A037636
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,3.
0
2, 17, 139, 1114, 8913, 71307, 570458, 4563665, 36509323, 292074586, 2336596689, 18692773515, 149542188122, 1196337504977, 9570700039819, 76565600318554, 612524802548433, 4900198420387467
OFFSET
1,1
FORMULA
G.f.: ( x*(2+x+3*x^2) ) / ( (x-1)*(8*x-1)*(1+x+x^2) ). - R. J. Mathar, Nov 21 2011
MATHEMATICA
With[{c=PadLeft[{}, 21, {2, 1, 3}]}, FromDigits[#, 8]&/@ Table[Take[c, n], {n, 20}]] (* Harvey P. Dale, Sep 30 2011 *)
CROSSREFS
Sequence in context: A037493 A037573 A037741 * A163066 A110815 A273340
KEYWORD
nonn,base
STATUS
approved