login
A044987
Numbers whose base-3 representation contains exactly four 0's and two 1's.
0
244, 246, 252, 270, 324, 734, 736, 740, 744, 748, 750, 758, 762, 774, 784, 786, 792, 812, 816, 828, 864, 892, 894, 900, 918, 974, 978, 990, 1026, 1134, 1216, 1218, 1224, 1242, 1296, 1462, 1468, 1470, 1486, 1488, 1494, 1540
OFFSET
1,1
EXAMPLE
244 is a term because 244_10 = 100001_3.
MATHEMATICA
okQ[n_]:=DigitCount[n, 3, 0]==4&&DigitCount[n, 3, 1]==2; Select[Range[2000], okQ] (* Harvey P. Dale, Jan 30 2011 *)
CROSSREFS
Cf. A007089.
Sequence in context: A248137 A243774 A051002 * A201998 A234262 A031786
KEYWORD
nonn,base
STATUS
approved