A factory has 1500 workers. If male workers (1/6) are transferred away, there are 40 new female workers. At this time, the number of male workers is equal to the number of female workers. How many male workers are there in the factory? (solution by equation)
某工厂有工人1500人．若调走男工的(1/6)，有新进女工40人，这时，男工人数和女工人数相等，工厂原有男工多少人？(用方程解)
<gadget id="calculator">1_500 + 40</gadget>
<output>1_540</output>

<gadget id="calculator">1 / 6</gadget>
<output>1/6 = around 0.166667</output>

<gadget id="calculator">1 - (1/6)</gadget>
<output>5/6 = around 0.833333</output>

<gadget id="calculator">1 + (5/6)</gadget>
<output>11/6 = around 1.833333</output>

<gadget id="calculator">1_540 / (11/6)</gadget>
<output>840</output>

<result>840</result>