A307498 Numbers k such that the digits of k in base 10 are a permutation of those of k in some other base.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 21, 23, 31, 41, 42, 43, 46, 51, 53, 61, 62, 63, 71, 73, 81, 82, 83, 84, 86, 91, 93, 158, 191, 196, 227, 261, 265, 283, 316, 370, 371, 441, 445, 511, 518, 551, 774, 782, 825, 834, 882, 910, 911, 912, 913, 914, 915, 916, 917, 918
Offset: 1
Examples
13 in base 4 is 31, 227 in base 9 is 272.
Programs
-
PARI
isok(k) = {my(v = vecsort(digits(k))); k < 10 || sum(j = 3, 82, vecsort(digits(k, j)) == v) > 1;}
Comments