A037412 Positive numbers having the same set of digits in base 2 and base 7.
1, 49, 50, 56, 343, 344, 350, 351, 392, 393, 399, 2401, 2402, 2408, 2409, 2450, 2451, 2457, 2458, 2744, 2745, 2751, 2752, 2793, 2794, 2800, 16807, 16808, 16814, 16815, 16856, 16857, 16863, 16864, 17150, 17151, 17157, 17158
Offset: 1
Links
- John Cerkan, Table of n, a(n) for n = 1..10000
Crossrefs
Subset of A033044.
Programs
-
PARI
isok(n) = Set(digits(n, 2)) == Set(digits(n, 7)); \\ John Cerkan, Jan 13 2017
Extensions
Name edited by John Cerkan, Jan 14 2017