

A281383


Triangle read by rows T(n,k) is the least integer with more than 1 digit in base n and k, such that the set of its base_n digits equals the set of its base_k digits.


1



2, 9, 3, 4, 22, 4, 5, 7, 28, 5, 6, 36, 55, 46, 6, 49, 51, 9, 17, 68, 7, 8, 17, 64, 91, 708, 94, 8, 9, 9, 81, 11, 212, 31, 124, 9, 10, 10, 13, 213, 331, 23, 614, 158, 10, 11, 23, 124, 385, 13, 38, 145, 49, 196, 11, 12, 12, 25, 49, 289, 61, 475, 2035, 1880, 238, 12
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

2,1


LINKS

Table of n, a(n) for n=2..67.


FORMULA

T(n, n) = n.


EXAMPLE

Triangle starts:
2;
9, 3;
4, 22, 4;
5, 7, 28, 5;
6, 36, 55, 46, 6;
49, 51, 9, 17, 68, 7;
8, 17, 64, 91, 708, 94, 8;
...


PROG

(PARI) T(n, k) = my(m=min(n, k)); while (Set(digits(m, n)) != Set(digits(m, k)), m++); m;
tabl(nn) = {for (n=2, nn, for (k=2, n, print1(T(n, k), ", "); ); print(); ); }


CROSSREFS

Cf. A033170, A037408A037443.
Cf. A281384 (first column).
Sequence in context: A111689 A085093 A194025 * A275838 A323720 A021777
Adjacent sequences: A281380 A281381 A281382 * A281384 A281385 A281386


KEYWORD

nonn,base,tabl


AUTHOR

Michel Marcus, Jan 21 2017


STATUS

approved



