A039008 Numbers whose base-5 representation has the same number of 0's and 2's.
1, 3, 4, 6, 8, 9, 10, 16, 18, 19, 21, 23, 24, 27, 31, 33, 34, 35, 41, 43, 44, 46, 48, 49, 51, 53, 54, 55, 65, 70, 77, 81, 83, 84, 85, 91, 93, 94, 96, 98, 99, 102, 106, 108, 109, 110, 116, 118, 119, 121, 123, 124, 132, 136, 138, 139, 142, 147, 152, 156, 158, 159, 160
Offset: 1
Links
- Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A007091.
Programs
-
Mathematica
Select[Range[180],DigitCount[#,5,0]==DigitCount[#,5,2]&] (* Harvey P. Dale, May 02 2011 *)