OFFSET
1,3
COMMENTS
If the digits of k in base 10 is a permutation of m = (k in base b), 10^j < k < 10^(j+1), then 10^(j/(j+1)) < b < 10^((j+1)/j).
If k > 10, other base can only be 4, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 22, 25, 26, 28, 37, 46, 55, 64, 73, 82.
The digits of k in base 10 is a permutation of k in base 82 iff k = 91.
The largest term is less than 10^25. See proof in A034294.
EXAMPLE
13 in base 4 is 31, 227 in base 9 is 272.
PROG
(PARI) isok(k) = {my(v = vecsort(digits(k))); k < 10 || sum(j = 3, 82, vecsort(digits(k, j)) == v) > 1; }
CROSSREFS
KEYWORD
nonn,base,fini
AUTHOR
Jinyuan Wang, Aug 05 2019
STATUS
approved