A039572 Numbers whose base-5 representation has the same number of 2's, 3's and 4's.
0, 1, 5, 6, 25, 26, 30, 31, 69, 73, 89, 97, 113, 117, 125, 126, 130, 131, 150, 151, 155, 156, 194, 198, 214, 222, 238, 242, 269, 273, 294, 298, 329, 334, 345, 346, 353, 358, 365, 366, 389, 397, 414, 422, 429, 434, 445, 446, 477, 482, 485, 486, 513, 517, 538
Offset: 1
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A007091.
Programs
-
Mathematica
Select[Range[0,600],DigitCount[#,5,2]==DigitCount[#,5,3]==DigitCount[#,5,4]&] (* Harvey P. Dale, Feb 02 2025 *)