login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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