|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|