Within groups of sizes and , the pair count is . Across the groups it is . Equating the two counts simplifies to .
A class has 30 children. On a day when some are absent, every pair of children present shakes hands once. The number of handshakes between children of the same sex equals the number between boys and girls. What is the fewest number absent? If attendance is as large as possible, how many girls could be present?
If boys and girls attend, same-group handshakes total . Mixed handshakes total .
Multiplying by 2 and rearranging gives , or . Attendance must therefore be a perfect square.
The largest square no greater than 30 is 25, so at least are absent. With and , the groups have sizes 10 and 15. Either size may be the number of girls.
Screenshot any problem on your screen and get the steps. Chrome on a computer; free.