OFFSET
0,2
COMMENTS
Also: the (10^n)-th zeroless number. - M. F. Hasler, Jan 13 2020
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..954
R. R. Forslund, A logical alternative to the existing positional number system, Southwest Journal of Pure and Applied Mathematics, Vol. 1, 1995, 27-29.
Eric Weisstein's World of Mathematics, Zerofree
Wikipedia, Bijective numeration
EXAMPLE
a(1) = 11_bij9 = 1*9^1 + 1*9^0 = 9+1 = 10.
a(2) = 121_bij9 = 1*9^2 + 2*9^1 + 1*9^0 = 81+18+1 = 100.
a(3) = 1331_bij9 = 1*9^3 + 3*9^2 + 3*9^1 + 1*9^0 = 729+243+27+1 = 1000.
a(7) = 19731371_bij9 = 9*(9*(9*(9*(9*(9*(9*1+9)+7)+3)+1)+3)+7)+1 = 10^7.
MAPLE
b:= proc(n) local d, l, m; m:= n; l:= "";
while m>0 do d:= irem(m, 9, 'm');
if d=0 then d:=9; m:= m-1 fi; l:= d, l
od; parse(cat(l))
end:
a:= n-> b(10^n):
seq(a(n), n=0..23);
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Sep 05 2019
STATUS
approved