login
A214678
a(n) = n represented in bijective base-8 numeration.
3
1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 23, 24, 25, 26, 27, 28, 31, 32, 33, 34, 35, 36, 37, 38, 41, 42, 43, 44, 45, 46, 47, 48, 51, 52, 53, 54, 55, 56, 57, 58, 61, 62, 63, 64, 65, 66, 67, 68, 71, 72, 73, 74, 75, 76, 77, 78, 81, 82, 83
OFFSET
1,2
LINKS
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
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
Column k=8 of A214676.
Sequence in context: A167703 A039272 A039209 * A259178 A032880 A032847
KEYWORD
nonn,base,easy
AUTHOR
Alois P. Heinz, Jul 25 2012
STATUS
approved