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”).

A037594
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3.
0
1, 8, 67, 537, 4296, 34371, 274969, 2199752, 17598019, 140784153, 1126273224, 9010185795, 72081486361, 576651890888, 4613215127107, 36905721016857, 295245768134856, 2361966145078851
OFFSET
1,2
FORMULA
G.f.: x*(1+3*x^2) / ( (x-1)*(8*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
EXAMPLE
In base 8 the sequence reads 1, 10, 103, 1031, 10310, 103103,...
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 0, 3}], 8], {n, 20}] (* Harvey P. Dale, Dec 24 2018 *)
CROSSREFS
Sequence in context: A166797 A196453 A343091 * A037685 A228419 A091645
KEYWORD
nonn,base,easy
STATUS
approved