A044974 Numbers whose base-3 representation contains exactly one 0 and four 1's.
94, 112, 118, 120, 284, 286, 292, 310, 338, 340, 346, 356, 358, 362, 366, 370, 372, 382, 388, 390, 418, 436, 442, 444, 526, 580, 598, 604, 606, 854, 860, 862, 878, 880, 886, 932, 934, 940, 958, 1016, 1022, 1024, 1040, 1042, 1048
Offset: 1
Crossrefs
Cf. A007089.
Programs
-
Mathematica
Select[Range[1100],DigitCount[#,3,0]==1&&DigitCount[#,3,1]==4&] (* Harvey P. Dale, Feb 10 2022 *)