OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
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(10) = 1357_bij9 = 9*(9*(9*1+3)+5)+7 = 1024 = 2^10.
a(16) = 98797_bij9 = 9*(9*(9*(9*9+8)+7)+9)+7 = 65536 = 2^16.
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(2^n):
seq(a(n), n=0..33);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Aug 21 2019
STATUS
approved