login
A037415
Positive numbers having the same set of digits in base 2 and base 10.
4
1, 10, 100, 101, 110, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 10000, 10001, 10010, 10011, 10100, 10101, 10110, 10111, 11000, 11001, 11010, 11011, 11100, 11101, 11110, 100000, 100001, 100010, 100011, 100100, 100101, 100110, 100111, 101000, 101001, 101010, 101011, 101100
OFFSET
1,2
PROG
(PARI) isok(n) = Set(digits(n)) == Set(binary(n)); \\ Michel Marcus, Aug 31 2016
CROSSREFS
Subsequence of A007088.
Sequence in context: A376454 A019513 A307102 * A123001 A014417 A211027
KEYWORD
nonn,base
EXTENSIONS
More terms from Michel Marcus, Aug 31 2016
Name edited by John Cerkan, Jan 20 2017
STATUS
approved