%I #14 Jul 25 2023 22:27:02
%S 244,246,252,270,324,734,736,740,744,748,750,758,762,774,784,786,792,
%T 812,816,828,864,892,894,900,918,974,978,990,1026,1134,1216,1218,1224,
%U 1242,1296,1462,1468,1470,1486,1488,1494,1540
%N Numbers whose base-3 representation contains exactly four 0's and two 1's.
%e 244 is a term because 244_10 = 100001_3.
%t okQ[n_]:=DigitCount[n,3,0]==4&&DigitCount[n,3,1]==2; Select[Range[2000],okQ] (* _Harvey P. Dale_, Jan 30 2011 *)
%Y Cf. A007089.
%K nonn,base
%O 1,1
%A _Clark Kimberling_
|