A039000 Numbers whose base-3 representation has the same number of 0's and 1's.
2, 3, 8, 11, 15, 19, 21, 26, 28, 30, 35, 36, 47, 51, 59, 61, 65, 69, 73, 75, 80, 86, 88, 92, 96, 100, 102, 107, 110, 114, 126, 136, 138, 143, 144, 155, 159, 166, 172, 174, 179, 185, 187, 190, 192, 197, 198, 209, 213, 221, 223, 227, 231, 235, 237, 242, 247, 253
Offset: 1
Links
- Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Select[Range[300],DigitCount[#,3,0]==DigitCount[#,3,1]&] (* Harvey P. Dale, Sep 04 2020 *)