Using GCD to Plan Equal Events

Combinatorics 9th-10th Grade
PROBLEM
A city youth commission wants to hold events for 33 students from Allenville High and 18 students from Kinley High. The same combination must attend each event, with no students left out or attending multiple events. What is the greatest number of events possible?

What You Will Learn

  • How to recognize when a word problem requires finding the greatest common divisor (GCD)
  • The connection between "equal groups" and divisibility constraints
  • Finding GCD using the factor method and understanding why it works
  • Translating real-world partitioning problems into mathematical language
  • Verifying answers by checking that constraints are satisfied

What This Looks Like

A city youth commission wants to hold events for 33 students from Allenville High and 18 students from Kinley High....

Solution: Method 1 — The Equal Groups Approach

Step 1 — Understand the constraint

Each event must have the "same combination" of students from both schools. This means if one event has x students from Allenville and y students from Kinley, then every other event must also have exactly x students from Allenville and y students from Kinley.

Step 2 — Set up the division requirement

Let n be the number of events we can hold. Since all 33 Allenville students must attend exactly one event, and each event has the same number of Allenville students, we need:

n × (students per event from Allenville) = 33

This means n must divide 33 evenly. Similarly, for Kinley students:

n × (students per event from Kinley) = 18

So n must also divide 18 evenly. We need the largest n that divides both 33 and 18.

Step 3 — Find all factors of 33

To find numbers that divide 33 evenly, we list all factors:

Factors of 33: 1, 3, 11, 33

We can verify: 33 ÷ 1 = 33, 33 ÷ 3 = 11, 33 ÷ 11 = 3, 33 ÷ 33 = 1

Step 4 — Find all factors of 18

Similarly for 18:

Factors of 18: 1, 2, 3, 6, 9, 18

We can verify: 18 ÷ 1 = 18, 18 ÷ 2 = 9, 18 ÷ 3 = 6, 18 ÷ 6 = 3, 18 ÷ 9 = 2, 18 ÷ 18 = 1

Step 5 — Find the greatest common divisor

The common factors (numbers that appear in both lists) are:

Common factors: 1, 3

The greatest common factor is 3.

The greatest number of events possible is 3.

Solution: Method 2 — Prime Factorization Analysis

Step 1 — Break down into prime factors

Let's factor each number into primes:

33 = 3 × 11
18 = 2 × 3² = 2 × 3 × 3

Step 2 — Identify common prime factors

Looking at the prime factorizations:

  • 33 contains the prime factors: 3 (once) and 11 (once)
  • 18 contains the prime factors: 2 (once) and 3 (twice)

The only prime factor they share is 3.

Step 3 — Find the GCD using prime factors

For each common prime factor, take the lowest power that appears in either factorization:

  • Prime 3 appears as 3¹ in 33 and 3² in 18
  • The minimum power is 3¹ = 3
GCD(33, 18) = 3¹ = 3

This confirms our answer: 3 events is the maximum.

The greatest number of events possible is 3.

Verification

Let's check that 3 events works and that no larger number is possible:

With 3 events:

  • Allenville students per event: 33 ÷ 3 = 11 students
  • Kinley students per event: 18 ÷ 3 = 6 students
  • Total students per event: 11 + 6 = 17 students

Checking our constraints:

  • ✓ All 33 Allenville students attend exactly one event (3 × 11 = 33)
  • ✓ All 18 Kinley students attend exactly one event (3 × 6 = 18)
  • ✓ Each event has the same combination (11 from Allenville, 6 from Kinley)

Why can't we have more than 3 events?

The next larger common factor would be needed, but there isn't one. We could try 6 events, but 33 ÷ 6 = 5.5, which isn't a whole number of students.

Common Pitfalls

✗ Mistake 1: Adding the student totals

Some students think the answer is 33 + 18 = 51. This misunderstands the question—we're not asking for the total number of students, but the maximum number of identical events.

✗ Mistake 2: Finding the LCM instead of GCD

The least common multiple of 33 and 18 is 198, but this doesn't help here. We need the largest number that divides both quantities (GCD), not the smallest number they both divide into (LCM).

✗ Mistake 3: Using just the smaller number

Saying "18 events with 1 Kinley student each" ignores the constraint that each event must have students from both schools in the same proportion. We'd need 33/18 ≈ 1.83 Allenville students per event, which is impossible.

How to Spot This Problem Type

Watch for these keywords and phrases that signal a GCD problem:

  • "Same combination" or "identical groups"
  • "Equal arrangements" or "uniform distribution"
  • "No one left out" combined with "maximum number"
  • "Greatest number of" + some grouping constraint
  • "Divide evenly" when dealing with multiple quantities

The key insight: when you need to split multiple groups into the same number of equal parts, you're looking for the GCD of the group sizes.

The Underlying Pattern

This problem follows the general pattern:

General Formula: When you have quantities A, B, C, ... that must be divided into the same number of equal groups with no remainder, the maximum number of groups possible is GCD(A, B, C, ...).

For two quantities specifically:

Maximum groups = GCD(quantity₁, quantity₂)

In our problem: GCD(33, 18) = 3, so 3 events maximum.

Each group will contain:

  • quantity₁ ÷ GCD items from the first group
  • quantity₂ ÷ GCD items from the second group

This pattern extends to any number of quantities—you just find the GCD of all the numbers involved.

Reality Check

Does our answer make sense? Let's think about it intuitively:

Number of EventsAllenville per EventKinley per EventPossible?
13318Yes ✓
216.59No ✗ (half students)
3116Yes ✓
65.53No ✗ (half students)
93.672No ✗ (fractional students)

The table confirms that 3 is indeed the maximum number of events where both schools can contribute whole numbers of students to each identical event.

What If?

1
Three Schools
What if there were three schools: Allenville (33 students), Kinley (18 students), and Westfield (24 students)? All other conditions remain the same. What is the greatest number of events possible?
Step 1 — Find factors of all three numbers

Factors of 33: 1, 3, 11, 33
Factors of 18: 1, 2, 3, 6, 9, 18
Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24

Step 2 — Find common factors

Numbers that appear in all three lists: 1, 3

Step 3 — Greatest common divisor

GCD(33, 18, 24) = 3

Step 4 — Verify the answer

With 3 events: Allenville sends 33÷3 = 11, Kinley sends 18÷3 = 6, Westfield sends 24÷3 = 8 students per event.

Answer: 3 events maximum

2
Minimum Group Size
Same original numbers (33 and 18), but now each event must have at least 10 students total. What is the greatest number of events possible?
Step 1 — Find possible number of events

From the original problem, the possible numbers of events are the common factors: 1, 3

Step 2 — Check the minimum constraint

With 1 event: 33 + 18 = 51 students total ≥ 10 ✓
With 3 events: 11 + 6 = 17 students per event ≥ 10 ✓

Step 3 — Choose the maximum that satisfies constraints

Both 1 and 3 events satisfy the minimum of 10 students per event.

Answer: 3 events maximum

3
Reverse Engineering
If you want to hold exactly 6 events with the same combination each time, and you have 18 students from Kinley High, how many students could you have from Allenville High (assuming between 30 and 50 students)?
Step 1 — Set up the constraint

For 6 events to be possible, 6 must divide both the number of Allenville students and 18.

Step 2 — Check if 6 divides 18

18 ÷ 6 = 3, so yes, Kinley can send 3 students per event.

Step 3 — Find Allenville possibilities

Allenville students must be divisible by 6. Between 30 and 50: 30, 36, 42, 48

Step 4 — Verify each works

All give whole numbers when divided by 6, so any of these work.

Answer: 30, 36, 42, or 48 students from Allenville

4
Double Constraint
Same numbers (33 and 18), but now each school must send at least 4 students to each event. What is the greatest number of events possible?
Step 1 — Find mathematically possible events

As before, the common factors are: 1, 3

Step 2 — Check minimum constraint for each school

With 1 event: Allenville sends 33 ≥ 4 ✓, Kinley sends 18 ≥ 4 ✓
With 3 events: Allenville sends 11 ≥ 4 ✓, Kinley sends 6 ≥ 4 ✓

Step 3 — Choose maximum satisfying constraints

Both options satisfy the constraint that each school sends at least 4 students per event.

Answer: 3 events maximum

Frequently Asked Questions

How do you find the maximum number of equal groups from two different quantities?+
Find the greatest common divisor (GCD) of both quantities. The GCD tells you the largest number of groups where each group contains the same proportion from each quantity. For example, with 33 students from one school and 18 from another, GCD(33,18) = 3, so you can form 3 equal groups with 11 from the first school and 6 from the second in each group.
What does it mean for events to have the "same combination" of students?+
Each event must have exactly the same number of students from each school. If one event has 11 students from Allenville and 6 from Kinley, then every other event must also have exactly 11 from Allenville and 6 from Kinley. This constraint is what makes finding the GCD necessary.
When should you use the greatest common divisor in word problems?+
Use GCD when you need to divide multiple quantities into equal groups or find the largest number that divides evenly into all given amounts. Look for phrases like "same combination," "equal groups," "no remainder," or "maximum number of identical arrangements." In this problem, finding the most events where each has the same student mix requires the GCD of 33 and 18.
NJ
Neven Jurkovic, PhD

Professor of Computer Science, Palo Alto College, Alamo Colleges District, San Antonio, TX

Developer of Algebrator

Contact

This solution was prepared with AI assistance and reviewed by Dr. Jurkovic for mathematical accuracy and pedagogical clarity.

2026-08-04