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

A037755
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,1,0.
0
2, 19, 153, 1224, 9794, 78355, 626841, 5014728, 40117826, 320942611, 2567540889, 20540327112, 164322616898, 1314580935187, 10516647481497, 84133179851976, 673065438815810, 5384523510526483
OFFSET
1,1
FORMULA
G.f.: ( x*(2+x) ) / ( (x-1)*(8*x-1)*(x^2+1) ). - R. J. Mathar, Oct 15 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 3, 1, 0}], 8], {n, 20}] (* Harvey P. Dale, Sep 18 2021 *)
CROSSREFS
Sequence in context: A161608 A037748 A037629 * A037643 A198312 A057858
KEYWORD
nonn,base
STATUS
approved