A039012 Numbers whose base-5 representation has the same number of 1's and 4's.
0, 2, 3, 9, 10, 12, 13, 15, 17, 18, 21, 29, 39, 44, 45, 47, 48, 50, 52, 53, 59, 60, 62, 63, 65, 67, 68, 71, 75, 77, 78, 84, 85, 87, 88, 90, 92, 93, 96, 101, 105, 107, 108, 111, 116, 129, 139, 144, 145, 147, 148, 174, 179, 189, 194, 195, 197, 198, 204, 214, 219, 220
Offset: 1
Links
- Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A007091.
Programs
-
Mathematica
Select[Range[0,250],DigitCount[#,5,1]==DigitCount[#,5,4]&] (* Harvey P. Dale, Jul 14 2022 *)