AMC 10 Step by Step

2018 AMC 10B Problem 13

P11-15~4 minPrint

How many of the first 20182018 numbers in the sequence 101,1001,10001,100001,…101, 1001, 10001, 100001, \dots are divisible by 101101 ?

Log in to save your progress.
Show solution without answering

Key insight

The terms are 1 followed by zeros and a 1. Every fourth term, starting with 101 itself, is a multiple of 101, so count 1st, 5th, 9th, and so on.

Solution

Start by testing the first few terms to find a pattern.

1. Test small cases.
- 101=101×1101 = 101 \times 1: yes.
- 1001=7×11×131001 = 7 \times 11 \times 13: no.
- 10001=73×13710001 = 73 \times 137: no.
- 100001=11×9091100001 = 11 \times 9091: no.
- 1000001=101×99011000001 = 101 \times 9901: yes.

So the 11st and 55th terms work. It looks like every fourth term works.
2. Why every fourth? Write the terms as 10k+110^k + 1, so the first term has k=2k = 2 (since 100+1=101100 + 1 = 101). Look at what 10k10^k is compared to multiples of 101101:
- 102=10010^2 = 100 is 11 less than 101101.
- So 104=100×10010^4 = 100 \times 100 is 11 more than a multiple of 101101 (because 100×100=10000=99×101+1100 \times 100 = 10000 = 99 \times 101 + 1).
- So 10k+4=10k×10410^{k+4} = 10^k \times 10^4 is 10k10^k times (a multiple of 101101, plus 11), which is 10k10^k plus a multiple of 101101. Adding a multiple of 101101 does not change whether a number is a multiple of 101101.

So "10k+110^k + 1 is a multiple of 101101" repeats every 44 steps of kk. It is true for k=2k = 2 and false for k=3,4,5k = 3, 4, 5, as the tests showed.
3. Count. The terms that work are term numbers 1,5,9,…1, 5, 9, \ldots, each one more than a multiple of 44. The last such number up to 20182018 is 2017=4×504+12017 = 4 \times 504 + 1. The list 1,5,9,…,20171, 5, 9, \ldots, 2017 has
2017−14+1=504+1=505\frac{2017 - 1}{4} + 1 = 504 + 1 = 505
numbers.

The answer is (C) 505\boxed{\textbf{(C)}\ 505}.

Why this works

Whether a power of 1010 plus 11 is a multiple of a fixed number depends only on the remainder, and remainders of powers repeat in a cycle. Here 100100 is one less than 101101, which makes the cycle length 44. Once you know the cycle, the problem is counting terms in a list that skips by 44, and you must be careful at both ends.

Alternative approach

With congruences: 102=100≡−1(mod101)10^2 = 100 \equiv -1 \pmod{101}, which says 100100 leaves remainder −1-1 (one short of a multiple). Then 10k+110^k + 1 is a multiple of 101101 exactly when 10k≡−110^k \equiv -1, which happens for k=2,6,10,…k = 2, 6, 10, \ldots. The terms use k=2k = 2 up to k=2019k = 2019, so the good values are 2,6,…,20182, 6, \ldots, 2018, and there are 2018−24+1=505\frac{2018 - 2}{4} + 1 = 505 of them.

Concise solution

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

The mm-th term is 10m+1+110^{m+1} + 1, so the first 20182018 terms are 10k+110^k + 1 for k=2,3,…,2019k = 2, 3, \dots, 2019.

Work modulo 101101. Since 102=100≡−110^2 = 100 \equiv -1, the powers of 1010 cycle with period 44:
101≡10,102≡−1,103≡−10,104≡1,…10^1 \equiv 10,\quad 10^2 \equiv -1,\quad 10^3 \equiv -10,\quad 10^4 \equiv 1,\quad \dots
We need 10k≡−1(mod101)10^k \equiv -1 \pmod{101}, which happens exactly when k≡2(mod4)k \equiv 2 \pmod 4.

Count the exponents k∈{2,…,2019}k \in \{2, \dots, 2019\} with k≡2(mod4)k \equiv 2 \pmod 4: they are 2,6,10,…,20182, 6, 10, \dots, 2018, an arithmetic progression with common difference 44, so there are
2018−24+1=504+1=505\frac{2018 - 2}{4} + 1 = 504 + 1 = 505
of them.

The answer is (C) 505\boxed{\textbf{(C)}\ 505}.

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.