A039562 Numbers whose base-4 representation has the same number of 1's, 2's and 3's.
0, 27, 30, 39, 45, 54, 57, 75, 78, 99, 108, 114, 120, 135, 141, 147, 156, 177, 180, 198, 201, 210, 216, 225, 228, 267, 270, 291, 300, 306, 312, 387, 396, 432, 450, 456, 480, 519, 525, 531, 540, 561, 564, 579, 588, 624, 705, 708, 720, 774, 777, 786, 792, 801
Offset: 1
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A007090.
Programs
-
Mathematica
Select[Range[0,1000],Length[Union[Most[DigitCount[#,4]]]]==1&] (* Harvey P. Dale, Oct 04 2016 *)