Harmony

A puzzle by S. Dvoryaninov from the July-August 1994 issue of Quantum:

A very large military band marched in square formation on a parade ground, then regrouped into a rectangle so that the number of rows increased by 5. How many musicians were in the band?

Click for Answer