|
|
A024640
|
|
n written in fractional base 7/3.
|
|
3
|
|
|
0, 1, 2, 3, 4, 5, 6, 30, 31, 32, 33, 34, 35, 36, 60, 61, 62, 63, 64, 65, 66, 320, 321, 322, 323, 324, 325, 326, 350, 351, 352, 353, 354, 355, 356, 610, 611, 612, 613, 614, 615, 616, 640, 641, 642, 643, 644, 645, 646, 3200, 3201, 3202, 3203, 3204, 3205, 3206, 3230, 3231
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
To represent a number in base b, if a digit exceeds b, subtract b and carry 1. In fractional base a/b, subtract a and carry b.
|
|
MAPLE
|
a:= proc(n) `if`(n<1, 0, irem(n, 7, 'q')+a(3*q)*10) end:
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|