A039007 Numbers whose base-5 representation has the same number of 0's and 1's.
2, 3, 4, 5, 12, 13, 14, 17, 18, 19, 22, 23, 24, 27, 28, 29, 35, 40, 45, 51, 55, 62, 63, 64, 67, 68, 69, 72, 73, 74, 76, 80, 87, 88, 89, 92, 93, 94, 97, 98, 99, 101, 105, 112, 113, 114, 117, 118, 119, 122, 123, 124, 126, 130, 137, 138, 139, 142, 143, 144, 147, 148
Offset: 1
Links
- Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A007091.
Programs
-
Mathematica
Select[Range[200],DigitCount[#,5,0]==DigitCount[#,5,1]&] (* Harvey P. Dale, May 30 2013 *)