|
|
A037678
|
|
Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2,3.
|
|
0
|
|
|
1, 8, 66, 531, 4249, 33992, 271938, 2175507, 17404057, 139232456, 1113859650, 8910877203, 71287017625, 570296141000, 4562369128002, 36498953024019, 291991624192153, 2335932993537224, 18687463948297794, 149499711586382355, 1195997692691058841
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1-x+3*x^2) / ( (x-1)*(8*x-1)*(x^2+1) ). - R. J. Mathar, May 04 2015
|
|
MATHEMATICA
|
Module[{nn=30, c}, c=PadRight[{}, nn, {1, 0, 2, 3}]; Table[FromDigits[Take[ c, i], 8], {i, nn}]] (* Harvey P. Dale, Apr 06 2014 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|