login
A037429
Positive numbers having the same set of digits in base 5 and base 6.
1
1, 2, 3, 4, 46, 87, 92, 145, 226, 308, 326, 332, 435, 452, 567, 568, 597, 673, 870, 914, 946, 949, 1316, 1375, 1376, 1380, 1381, 1382, 1383, 1384, 1388, 1396, 1525, 1526, 1556, 1561, 1609, 1632, 1671, 1756, 1789, 1791, 1846, 1858, 1951, 1957, 1971
OFFSET
1,2
EXAMPLE
308 is in the sequence because 308 in base 5 is 2213 and in base 6 it is 1232.
PROG
(PARI) is(n)=Set(digits(n, 5))==Set(digits(n, 6)) \\ Charles R Greathouse IV, Feb 11 2017
CROSSREFS
Subsequence of A037393.
Sequence in context: A270350 A060411 A037322 * A230452 A270478 A235495
KEYWORD
nonn,base
EXTENSIONS
Edited by Don Reble, Apr 28 2006
Edited by John Cerkan, Feb 09 2017
STATUS
approved