AMC 10 Step by Step

2026 AMC 10B Problem 8

P1-10~4 minPrint

Consider the infinite sequence of sets {1}\{1\} , {2,4}\{2, 4\} , {3,5,7}\{3, 5, 7\} , {4,6,8,10}\{4, 6, 8, 10\} , {5,7,9,11,13},…\{5, 7, 9, 11, 13\}, \dots . Here, the kk -th set contains one more element than the previous set, and its members are the terms of an arithmetic sequence beginning with kk and having common difference 22 . Let NN be the number of these sets that contain the number 20262026 . What is the sum of the digits of NN ?

Log in to save your progress.
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 20262026, we need to know three things about the set: where it starts, where it ends, and whether its numbers are even or odd.

  1. Where each set starts and ends. Look at the sets we are given.
set number kk1122334455
first number1122334455
last number11447710101313

The kk-th set starts at kk and has kk numbers. Getting from the first number to the last takes k−1k - 1 steps of 22, so the last number is
k+2(k−1)=3k−2.k + 2(k-1) = 3k - 2.
Check with k=5k = 5: 3⋅5−2=133 \cdot 5 - 2 = 13. Correct.

  1. Even or odd. Adding 22 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 20262026 is even, it can only be in a set with kk even.

3. When kk is even, the set holds every even number from kk to 3k−23k - 2. So 20262026 is in the kk-th set exactly when kk is even and
k≤2026≤3k−2.k \le 2026 \le 3k - 2.

  1. Try this on a small number first. Which sets contain 1010? We need kk even, k≤10k \le 10, and 3k−2≥103k - 2 \ge 10, which means k≥4k \ge 4. So k=4,6,8,10k = 4, 6, 8, 10. Indeed {4,6,8,10}\{4, 6, 8, 10\}, {6,8,10,…}\{6, 8, 10, \ldots\}, {8,10,…}\{8, 10, \ldots\} and {10,…}\{10, \ldots\} all contain 1010, while {2,4}\{2, 4\} stops too early. The rule works.

5. Now use 20262026.
- The set must not start too late: k≤2026k \le 2026.
- The set must not stop too early: 3k−2≥20263k - 2 \ge 2026, so 3k≥20283k \ge 2028, so k≥676k \ge 676.

So kk is an even number from 676676 to 20262026. (Both ends are even, so both count.)

6. Count them. Halve each of these even numbers: 676,678,…,2026676, 678, \ldots, 2026 become 338,339,…,1013338, 339, \ldots, 1013. That list has
1013−338+1=6761013 - 338 + 1 = 676
numbers. So N=676N = 676.

  1. Add the digits. 6+7+6=196 + 7 + 6 = 19.

The answer is (D) 19\boxed{\textbf{(D)}\ 19}.

Why this works

A list that goes up by 22 is completely described by its first number, its last number, and whether its numbers are even or odd. Turning "is 20262026 in the set?" into those three simple conditions on kk 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 11 because both ends are included.

Alternative approach

Find the first and last sets that work, then step by 22.

  • First set. The 676676th set ends at 3⋅676−2=20263 \cdot 676 - 2 = 2026, so 20262026 is its last number. The 674674th set (the even one before it) ends at 3⋅674−2=20203 \cdot 674 - 2 = 2020, which is too small. So k=676k = 676 is the first set that contains 20262026.
  • Last set. The 20262026th set starts at 20262026. Any later set starts above 20262026. So k=2026k = 2026 is the last one.
  • In between. Every even kk from 676676 to 20262026 works, because its set starts at or below 20262026, ends at or above 20262026, and holds all the even numbers in between. Odd kk never works.

From 676676 to 20262026 is a distance of 13501350, which is 675675 steps of 22, so there are 675+1=676675 + 1 = 676 sets. Then 6+7+6=196 + 7 + 6 = 19.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

The kk-th set is {k,k+2,…,3k−2}\{k, k+2, \ldots, 3k-2\}: all the numbers from kk to 3k−23k - 2 that are even or odd like kk. So it contains 20262026 exactly when kk is even and k≤2026≤3k−2k \le 2026 \le 3k - 2, which means kk is even and 676≤k≤2026676 \le k \le 2026. The number of such kk is
2026−6762+1=676,\frac{2026 - 676}{2} + 1 = 676,
so N=676N = 676 and the digit sum is 6+7+6=196 + 7 + 6 = 19.

The answer is (D) 19\boxed{\textbf{(D)}\ 19}.

Review in the AoPS books

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.