A sequence of natural numbers is constructed by listing the first , then skipping one, listing the next , skipping , listing , skipping , and, on the th iteration, listing and skipping . The sequence begins . What is the number in the sequence?
- A)
- B)
- C)
- D)
- E)
Answer
A
Key insight
The 500,000th listed number is 500,000 plus how many numbers were skipped before it. Up to that point, 1 + 2 + ... + 996 = 496,506 numbers were skipped.
Solution
Every whole number is either listed or skipped. So the th listed number equals plus the number of skipped numbers that come before it. The job is to count those skipped numbers.
1. What one round does. Round lists numbers, then skips .
2. Count the listed numbers after some rounds. After rounds, the number of listed numbers is
Check with the start: after round, listed; after rounds, listed. The formula gives and .
3. Find the right round. We want this count to be close to . It is roughly , so and is a bit under . Try :
That is short of . Round lists numbers, which is more than . So the th number is listed during round , before its skip.
4. Count the skipped numbers before it. The first rounds skipped numbers. Round has not skipped anything yet.
5. The answer. .
Check with the given start: the th listed number should be . Before it, rounds and skipped numbers, and .
The answer is .
Why this works
For a list that skips some numbers, "the th number on the list" equals plus the number of skipped numbers before it. That turns the question into counting skips, which here is just . The answer choices differ by , so checking the method on the start of the list, as we did with the th number, is worth the few seconds.
Alternative approach
Track where each round starts. Round uses numbers ( listed and skipped). So after rounds we have gone through numbers. After rounds that is , and numbers have been listed. Round lists , , and so on. We need the th of these, which is .
The trap
Being off by one when finding the position inside the last block, which gives 996,505 or 996,507 instead of 996,506.
Concise solution
Track two running totals after complete rounds.
Numbers listed: .
Integers passed (listed or skipped): . So round begins with the integer .
Check: gives listed and passed; gives listed and passed, and the next term is , matching the given start.
Now find the round containing the th term. We need , i.e. , so . Indeed
and round lists more, which is plenty. The integers passed after rounds total .
Round lists consecutive integers starting at . The th term is entry number of this block:
The answer is .
Review in the AoPS books
- Introduction to Algebra, Chapter 21: Sequences & Series (§21.1, §21.2, §21.3, §21.4)
- Introduction to Number Theory, Chapter 1: Integers: The Basics
- Intermediate Algebra, Chapter 17: More Sequences and Series (§17.1, §17.2)
- Introduction to Algebra, Chapter 20: Special Functions (§20.3)
Techniques
Bound the quantity above/below or estimate to pin it down · Set up the equation/formula and compute; no special trick needed