|
|
A037596
|
|
Numbers written in base 4 whose digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3.
|
|
0
|
|
|
1, 10, 103, 1031, 10310, 103103, 1031031, 10310310, 103103103, 1031031031, 10310310310, 103103103103, 1031031031031, 10310310310310, 103103103103103, 1031031031031031
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: x*(1+3*x^2) / ( (x-1)*(10*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 27 2015
|
|
MATHEMATICA
|
With[{c=PadRight[{}, 21, {1, 0, 3}]}, Table[FromDigits[Take[c, n]], {n, 20}]] (* Harvey P. Dale, Dec 29 2011 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|