login
A037790
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,0,1.
0
3, 26, 208, 1665, 13323, 106586, 852688, 6821505, 54572043, 436576346, 3492610768, 27940886145, 223527089163, 1788216713306, 14305733706448, 114445869651585, 915566957212683, 7324535657701466
OFFSET
1,1
FORMULA
G.f.: x*(3-x+x^2) / ( (x-1)*(8*x-1)*(x^2+1) ). - R. J. Mathar, May 01 2015
MATHEMATICA
nn=10; With[{c=PadRight[{}, 4nn, {3, 2, 0, 1}]}, Table[FromDigits[Take[c, n], 8], {n, 4nn}]] (* Harvey P. Dale, Oct 31 2011 *)
CROSSREFS
Sequence in context: A355047 A228116 A091123 * A037671 A037797 A071846
KEYWORD
nonn,base,easy
STATUS
approved