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

%I #21 Aug 30 2019 10:10:26

%S 10,11,10,100,11,10,101,12,11,10,110,20,12,11,10,111,21,13,12,11,10,

%T 1000,22,20,13,12,11,10,1001,100,21,14,13,12,11,10,1010,101,22,20,14,

%U 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

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

%H Alois P. Heinz, <a href="/A004053/b004053.txt">Rows n = 2..20, flattened</a> (row 21 would require digits > 9)

%e Triangle begins:

%e 10;

%e 11, 10;

%e 100, 11, 10;

%e 101, 12, 11, 10;

%e 110, 20, 12, 11, 10;

%e 111, 21, 13, 12, 11, 10;

%e 1000, 22, 20, 13, 12, 11, 10;

%e 1001, 100, 21, 14, 13, 12, 11, 10;

%e ...

%o (PARI) T(n, k) = fromdigits(digits(n, k), 10);

%o tabl(nn) = for (n=2, nn, for (b=2, n, print1(T(n, b), ", "))); \\ _Michel Marcus_, Aug 30 2019

%Y Cf. A007088, A007090, A007091, A007092, A007093, A007094, A007095.

%K nonn,base,tabl

%O 2,1

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