There are 48 students in Class 3 and 1. They sometimes line up in a rectangular formation during physical education class. How many different ways are there? If you want to form a square formation, at least how many people should be removed?
三1班同学有48人，上体育课时有时排成长方形队形，有几种不同的排法？如果要排成正方形队形，至少应去掉几人？
<gadget id="calculator">48 - 36</gadget>
<output>12</output>

<result>12</result>