login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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
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:
seq(a(n), n=0..57); # Alois P. Heinz, May 14 2021
CROSSREFS
Sequence in context: A303367 A037332 A091690 * A037403 A037439 A004846
KEYWORD
nonn,base
STATUS
approved