2026 AMC 10B Problem 8
Consider the infinite sequence of sets , , , , . Here, the -th set contains one more element than the previous set, and its members are the terms of an arithmetic sequence beginning with and having common difference . Let be the number of these sets that contain the number . What is the sum of the digits of ?
Show solution without answering
Key insight
The k-th set holds every number from k up to 3k - 2 that is even or odd like k. So 2026 needs an even k from 676 to 2026.
Solution
To decide whether a set contains , we need to know three things about the set: where it starts, where it ends, and whether its numbers are even or odd.
- Where each set starts and ends. Look at the sets we are given.
| set number | |||||
|---|---|---|---|---|---|
| first number | |||||
| last number |
The -th set starts at and has numbers. Getting from the first number to the last takes steps of , so the last number is
Check with : . Correct.
- Even or odd. Adding never changes whether a number is even or odd. So a set that starts at an even number holds only even numbers, and a set that starts at an odd number holds only odd numbers. Since is even, it can only be in a set with even.
3. When is even, the set holds every even number from to . So is in the -th set exactly when is even and
- Try this on a small number first. Which sets contain ? We need even, , and , which means . So . Indeed , , and all contain , while stops too early. The rule works.
5. Now use .
- The set must not start too late: .
- The set must not stop too early: , so , so .
So is an even number from to . (Both ends are even, so both count.)
6. Count them. Halve each of these even numbers: become . That list has
numbers. So .
- Add the digits. .
The answer is .
Why this works
A list that goes up by is completely described by its first number, its last number, and whether its numbers are even or odd. Turning "is in the set?" into those three simple conditions on changes the problem into counting the even numbers in a range. When counting such a range, halve the numbers so they become consecutive, and remember to add because both ends are included.
Alternative approach
Find the first and last sets that work, then step by .
- First set. The th set ends at , so is its last number. The th set (the even one before it) ends at , which is too small. So is the first set that contains .
- Last set. The th set starts at . Any later set starts above . So is the last one.
- In between. Every even from to works, because its set starts at or below , ends at or above , and holds all the even numbers in between. Odd never works.
From to is a distance of , which is steps of , so there are sets. Then .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
The -th set is : all the numbers from to that are even or odd like . So it contains exactly when is even and , which means is even and . The number of such is
so and the digit sum is .
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)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.