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”).

A045011
Numbers whose base-3 representation contains exactly four 0's and two 2's.
0
488, 492, 504, 540, 648, 737, 749, 753, 785, 789, 801, 893, 897, 909, 945, 1217, 1221, 1233, 1269, 1377, 1463, 1465, 1469, 1473, 1477, 1479, 1487, 1491, 1503, 1513, 1515, 1521, 1541, 1545, 1557, 1593, 1621, 1623, 1629
OFFSET
1,1
MATHEMATICA
b302Q[n_]:=Module[{dc=DigitCount[n, 3]}, dc[[3]]==4&&dc[[2]]==2]; Select[ Range[ 1700], b302Q] (* Harvey P. Dale, Oct 24 2011 *)
CROSSREFS
Cf. A007089.
Sequence in context: A097766 A214806 A126819 * A253336 A205315 A118449
KEYWORD
nonn,base
STATUS
approved