|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
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
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|