Arithmetic · real student question

A summer camp has 54 boys and 48 girls. They are split into groups so that every group has the same number of boys and the same number of girls, and everybody is in a group. What is the largest possible number of groups?

Question

A summer camp has 5454 boys and 4848 girls. They are split into groups so that every group has the same number of boys and the same number of girls, and everybody is in a group.

What is the largest possible number of groups?

Step-by-step solution

  1. Translate the conditions into divisibility. If there are gg groups with bb boys each and hh girls each, then gb=54gb=54 and gh=48gh=48. So gg must divide both 5454 and 4848 — the group count is a common divisor, and "as many groups as possible" means the greatest common divisor.

  2. Factor both totals into primes.

    54=2×33,48=24×354=2\times 3^3,\qquad 48=2^4\times 3

  3. Take the smaller exponent of each shared prime. The primes common to both are 22 and 33:

    gcd(54,48)=2min(1,4)×3min(3,1)=2×3=6\gcd(54,48)=2^{\min(1,4)}\times 3^{\min(3,1)}=2\times 3=6

  4. Confirm the split actually works. With g=6g=6,

    546=9 boys per group,486=8 girls per group\frac{54}{6}=9\ \text{boys per group},\qquad \frac{48}{6}=8\ \text{girls per group}

    Both are whole numbers and 6×9=546\times 9=54, 6×8=486\times 8=48, so nobody is left over.

  5. Check that 77 or more groups is impossible. The divisors of 5454 are 1,2,3,6,9,18,27,541,2,3,6,9,18,27,54 and the divisors of 4848 are 1,2,3,4,6,8,12,16,24,481,2,3,4,6,8,12,16,24,48. Their common divisors are only 1,2,3,61,2,3,6, so 66 is genuinely the largest — any count above it fails to divide at least one of the two totals. As a cross-check, the Euclidean algorithm gives 54=48+654=48+6, 48=8×6+048=8\times 6+0, so gcd=6\gcd=6.

Answer

6 groups, each with 9 boys and 8 girls6\ \text{groups, each with }9\text{ boys and }8\text{ girls}

Need to solve a different problem like this? Open the solver →