login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A037411
Positive numbers having the same set of digits in base 2 and base 6.
1
1, 6, 7, 36, 37, 42, 216, 217, 222, 223, 252, 253, 258, 1296, 1297, 1302, 1303, 1332, 1333, 1338, 1339, 1512, 1513, 1518, 1519, 1548, 1549, 1554, 7776, 7777, 7782, 7783, 7812, 7813, 7818, 7819, 7992, 7993, 7998, 7999, 8028
OFFSET
1,2
PROG
(PARI) isok(n) = Set(digits(n, 2)) == Set(digits(n, 6)); \\ John Cerkan, Jan 11 2017
CROSSREFS
Subsequence of A033043.
Sequence in context: A359530 A237711 A033043 * A025626 A175167 A027021
KEYWORD
nonn,base
STATUS
approved