A039014 Numbers whose base-5 representation has the same number of 2's and 4's.
0, 1, 3, 5, 6, 8, 14, 15, 16, 18, 22, 25, 26, 28, 30, 31, 33, 39, 40, 41, 43, 47, 54, 59, 69, 70, 71, 73, 75, 76, 78, 80, 81, 83, 89, 90, 91, 93, 97, 102, 107, 110, 111, 113, 117, 125, 126, 128, 130, 131, 133, 139, 140, 141, 143, 147, 150, 151, 153, 155, 156, 158
Offset: 1
Links
- Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A007091.
Programs
-
Mathematica
Select[Range[0,200],DigitCount[#,5,2]==DigitCount[#,5,4]&] (* Harvey P. Dale, Jul 17 2016 *)