

A004053


For m=2,3,..., write m in bases 2,3,..,m.


6



10, 11, 10, 100, 11, 10, 101, 12, 11, 10, 110, 20, 12, 11, 10, 111, 21, 13, 12, 11, 10, 1000, 22, 20, 13, 12, 11, 10, 1001, 100, 21, 14, 13, 12, 11, 10, 1010, 101, 22, 20, 14, 13, 12, 11, 10, 1011, 102, 23, 21, 15, 14, 13, 12, 11, 10, 1100, 110, 30, 22, 20, 15, 14, 13, 12, 11, 10
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

2,1


LINKS



EXAMPLE

Triangle begins:
10;
11, 10;
100, 11, 10;
101, 12, 11, 10;
110, 20, 12, 11, 10;
111, 21, 13, 12, 11, 10;
1000, 22, 20, 13, 12, 11, 10;
1001, 100, 21, 14, 13, 12, 11, 10;
...


PROG

(PARI) T(n, k) = fromdigits(digits(n, k), 10);
tabl(nn) = for (n=2, nn, for (b=2, n, print1(T(n, b), ", "))); \\ Michel Marcus, Aug 30 2019


CROSSREFS



KEYWORD



AUTHOR

Johan Boye (johbo(AT)ida.liu.se)


STATUS

approved



