login
A037410
Positive numbers having the same set of digits in base 2 and base 5.
1
1, 5, 25, 26, 30, 31, 125, 126, 130, 131, 150, 151, 155, 625, 626, 630, 631, 650, 651, 655, 656, 750, 751, 755, 756, 775, 776, 780, 3125, 3126, 3130, 3131, 3150, 3151, 3155, 3156, 3250, 3251, 3255, 3256, 3275, 3276, 3280, 3281
OFFSET
1,2
PROG
(PARI) isok(n) = Set(digits(n, 2)) == Set(digits(n, 5)); \\ Michel Marcus, Jan 11 2017
CROSSREFS
Subsequence of A033042.
Sequence in context: A121007 A043057 A137112 * A070381 A136912 A137111
KEYWORD
nonn,base
STATUS
approved