In a long line of people arranged left to right, the 1013th person from the left is also the 1010th person from the right. How many people are in the line?
- A)
- B)
- C)
- D)
- E)
Answer
B
Key insight
The person in the middle is counted once from each end. Count the people on each side of that person, then add that person back once.
Solution
Start with a tiny line to see how positions work. In a line of people, the th from the left is also the nd from the right. Adding is one too many, because that person got counted from both sides.
So count the people on each side instead, and then add the person themself once.
1. This person is th from the left, so there are people to their left.
2. This person is th from the right, so there are people to their right.
3. The line is the left group, the person, and the right group:
The answer is .
Why this works
Being "th from one end" means there are people on that side. When you add the two positions, the person in the middle is counted twice, so the rule is: left position plus right position, minus one. Checking a rule on a line of people is a quick way to avoid off-by-one mistakes.
The trap
Adding 1013 and 1010 to get 2023, which counts the same person twice. That is choice (C).
Concise solution
Being th from the left means there are people to this person's left. Being th from the right means there are people to the right.
The line consists of those two groups plus the person in question:
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.1)
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques
- Introduction to Number Theory, Chapter 12: Introduction to Modular Arithmetic (§12.6)
Techniques
Set up the equation/formula and compute; no special trick needed · Compute small cases, spot the pattern, generalize