Sub topic 13
Strategy for GRE Counting Questions
What this chapter assumes
This chapter ties together the tools from the earlier chapters. It assumes you can already do the following:
- Apply the multiplication and addition principles.
- Compute factorials, permutations
P(n, r), and combinationsC(n, r). - Count arrangements with identical items.
- Use the complement method.
- Use two-set and three-set inclusion-exclusion.
Here the goal is to decide quickly which tool a question needs, avoid the usual traps, and check the result.
A four-step routine
Most GRE counting questions can be handled with the same routine.
- Classify. Decide whether you are counting selections, arrangements, or members of overlapping sets.
- Pick the method. Choose steps, cases, a formula, or the complement.
- Compute with simplification. Cancel factorials before multiplying anything out.
- Check. Compare the answer with a rough bound or a small version of the problem.
The GRE gives no credit for method, so you can use whatever is fastest. Even so, a fixed routine keeps you from jumping to a formula before you understand the question.
Step 1: Classify the question
Look for the words that signal the structure of the problem.
| Wording in the question | Likely structure | First tool |
|---|---|---|
| "arrange", "line up", "order", "ranked", "codes", "passwords" | Ordered | Multiplication principle or `P(n, r)` |
| "choose", "select", "committee", "team", "hand" | Unordered | `C(n, r)` |
| "president, secretary, treasurer" | Ordered, because the roles are distinct | `P(n, r)` |
| "at least one", "at most", "not all" | Complement likely | Total minus the excluded case |
| "must sit together", "must be adjacent" | Block | Glue into one unit, then order inside the block |
| letters of a word with repeats | Identical items | `n!` divided by each repeat count factorial |
| "divided into groups of equal size" | Unlabeled groups | Divide out the group orderings |
| "neither", "both", "exactly one of" | Sets | Inclusion-exclusion |
| "probability", "chance", "likelihood" | Favorable over total | Count both with the same method |
The test for order is to swap two chosen items and ask whether the result is a different outcome. A different outcome means order matters. The same outcome means it does not.
Step 2: Choose a method
The diagram shows the usual decision path.
Two refinements apply once you have a method.
- Steps versus cases. If the choice happens in stages, multiply. If the outcome falls into separate, non-overlapping situations, add. Many questions need both. Add across the cases, and multiply within each case.
- Direct versus complement. Use the complement when the direct count splits into many cases. "At least one" is the standard signal. "Not adjacent" is another, because it is easier to count "adjacent" and subtract.
Worked example 1: a complement count
A 4-digit code uses digits 0 through 9, and digits may repeat. How many codes contain at least one 7?
Classify. The code is ordered, and the condition is "at least one".
Method. Counting codes with exactly one 7, exactly two, and so on takes four cases. The complement is one line. Codes with no 7 use only 9 allowed digits in each position.
- All codes: 10 × 10 × 10 × 10 = 10,000
- Codes with no 7: 9 × 9 × 9 × 9 = 6,561
- Answer: 10,000 − 6,561 = 3,439
Check. About a third of codes contain a 7. Each position has a 1-in-10 chance of being a 7, and four positions give a bit under 40%, so 34% is reasonable.
Worked example 2: a Venn count
Of 100 students, 60 take Art, 45 take Biology, and 20 take both. How many take exactly one of the two subjects?
Classify. The question is about sets, so use inclusion-exclusion.
- Art only: 60 − 20 = 40
- Biology only: 45 − 20 = 25
- Exactly one: 40 + 25 = 65
- Either subject: 60 + 45 − 20 = 85, so 15 take neither.
Check. The regions are 40 + 20 + 25 + 15 = 100, which matches the total.
Always fill in the "both" region first. Subtracting the overlap from each set before you do anything else prevents the most common Venn mistake, which is counting the overlap twice.
Common errors
These mistakes account for most wrong answers on counting questions.
- Using
P(n, r)when order does not matter. If a committee of 3 is counted as 60 instead of 10, you counted each group 3! = 6 times. Divide byr!to fix it. - Using
C(n, r)when the roles differ. Picking a president and a secretary from 5 people is 5 × 4 = 20. It is notC(5, 2)= 10. - Forgetting to order inside a block. When two people sit together, you arrange the block with the others, then multiply by 2! for the order inside the block.
- Forgetting to divide for identical items. BANANA has 6!/(3! × 2!) = 60 arrangements, not 720.
- Dividing for unlabeled groups when the groups are labeled. Splitting 6 people into 3 pairs gives 6!/(2! × 2! × 2! × 3!) = 15. If the pairs are named (for example, three different projects), skip the final 3! and the answer is 90.
- Adding when you should multiply. Choices made one after another multiply. Only separate, mutually exclusive cases add.
- Mixing up "at least" with "exactly". "At least 1 woman" means 1, 2, or 3 women. The complement is "no women".
- Applying
(n − 1)!to a circular arrangement with a fixed reference point.(n − 1)!applies when rotations count as the same arrangement and nothing marks a seat. If one seat is distinguished (for example, the head of the table), the count isn!.
Counting for probability
When a question asks for a probability, count the favorable outcomes and the total outcomes with the same method, then divide. If the total counts ordered outcomes, the favorable count must also be ordered. If the total uses combinations, use combinations for both. Mixing the two conventions gives a wrong probability even when each count is correct on its own.
For the 4-digit code above, the probability that a random code contains at least one 7 is 3,439/10,000 = 0.3439. The complement trick works in probability too: one minus the probability of the opposite event.
Check your answer
Use two checks before you commit to a choice.
- Bounds. The answer to a combination question cannot exceed the permutation count, and it cannot exceed the total with no restriction. A restricted count must be smaller than the unrestricted one. A complement answer must lie between 0 and the total.
- Small cases. If the numbers are large, shrink them. Try 3 people instead of 5, or 2 digits instead of 4. List the outcomes by hand and see whether your method gives the same number.
You can also confirm your reasoning with a brute-force check while you study. This is not available on the exam, but it is a good way to test your method on practice questions.
from itertools import combinations, permutations, product
# Example 1: 4-digit codes containing at least one 7
codes = sum(1 for d in product(range(10), repeat=4) if 7 in d)
print(codes, 10**4 - 9**4) # 3439 3439
# 5 people in a row, persons 0 and 1 not adjacent
not_adjacent = sum(
1 for p in permutations(range(5))
if abs(p.index(0) - p.index(1)) != 1
)
print(not_adjacent) # 72
# Committees of 3 from 10 people (6 men: 0-5, 4 women: 6-9) with at least 1 woman
with_woman = sum(1 for c in combinations(range(10), 3) if any(x >= 6 for x in c))
print(with_woman) # 100Each brute-force count matches the formula from earlier chapters: 3,439 for the codes, 72 for the seating (120 − 48), and 100 for the committees (120 − 20).
Time management
Counting questions on the GRE reward a short, structured approach.
- Spend the first few seconds classifying. A wrong classification costs more time than slow arithmetic.
- If the direct count has more than two cases, switch to the complement.
- Quantitative Comparison questions often need only a comparison, not the exact value. Compare
PwithC, or a restricted count with the total, using the relationships above. - Move on if you are stuck after a minute, and come back if time allows.
Exercise
A club has 7 members. It must choose a president, then a vice-president, then a separate 2-person social committee from the remaining members. How many ways can this be done?
Show answer
The two offices are ordered and distinct: 7 × 6 = 42 ways. The committee is unordered and chosen from the 5 members left: C(5, 2) = 10. Multiply the stages: 42 × 10 = 420.
Exercise
A 4-digit code uses digits 0 through 9, and digits may repeat. What is the probability that the code has no digit equal to 7?
Show answer
Codes with no 7: 9^4 = 6,561. All codes: 10^4 = 10,000. The probability is 6,561/10,000 = 0.6561. This is also 1 − 0.3439, the complement of the answer in Worked example 1.
Exercise
Six people are divided into 3 unlabeled pairs. In how many ways can this be done? How does the answer change if the pairs are assigned to three different named projects?
Show answer
Unlabeled: 6!/(2! × 2! × 2! × 3!) = 720/48 = 15. If the pairs are assigned to three different projects, the groups are labeled, so do not divide by 3!. The count is 6!/(2! × 2! × 2!) = 90.
Exercise
In a class of 50 students, 30 play chess, 25 play checkers, and 12 play both. How many play neither, and how many play exactly one game?
Show answer
Either game: 30 + 25 − 12 = 43, so 50 − 43 = 7 play neither. Chess only: 30 − 12 = 18. Checkers only: 25 − 12 = 13. Exactly one: 18 + 13 = 31.