OFFSET
1,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
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
MAPLE
a:= proc(n) local d, l, m; m:= n; l:= NULL;
while m>0 do d:= irem(m, 8, 'm');
if d=0 then d:=8; m:= m-1 fi;
l:= d, l
od; parse(cat(l))
end:
seq(a(n), n=1..100);
MATHEMATICA
With[{b = 8}, Flatten@ Table[FromDigits[PadLeft[IntegerDigits[k, b], n] /. k_ :> k + 1], {n, 3}, {k, 0, b^n - 1}] ] (* Michael De Vlieger, Sep 16 2023 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Alois P. Heinz, Jul 25 2012
STATUS
approved