2022 AMC 10B Problem 25

Attempt Problem 25 of the 2022 AMC 10B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2022 AMC 10B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

25.

Let x0,x_0, x1,x_1, x2,x_2, …\dotsc be a sequence of numbers, where each xkx_k is either 00 or 1.1. For each positive integer n,n, define Sn=∑k=0n−1xk2kS_n = \sum_{k=0}^{n-1} x_k 2^k Suppose 7Sn≡1(mod2n)7S_n \equiv 1 \pmod{2^n} for all n≥1.n \geq 1. What is the value of the sum x2019+2x2020+x_{2019} + 2x_{2020} + 4x2021+8x2022?4x_{2021} + 8x_{2022}?
6 6
7 7
12 12
14 14
15 15
Answer: A
Concepts:modular arithmeticnumber basepower of 2
Small hint:
Find S2019S_{2019} and S2023,S_{2023}, then subtract to isolate the four digits
Big hint:
The congruence defines the binary digits of the inverse of 77
Solution:
The desired sum is S2023−S201922019.\frac{S_{2023}-S_{2019}}{2^{2019}}. Also, 0≤Sn<2n.0\le S_n<2^n.
Therefore, for a unique mn∈{0,1,…,6},m_n\in\{0,1,\ldots,6\}, 7Sn=mn2n+1.7S_n=m_n2^n+1. Reducing modulo 77 gives mn2n≡−1(mod7).m_n2^n\equiv-1\pmod7.
Since 23≡1(mod7)2^3\equiv1\pmod7 and 2019≡0(mod3),2019\equiv0\pmod3, we get m2019=6.m_{2019}=6. Since 2023≡1(mod3),2023\equiv1\pmod3, we have 2m2023≡−1(mod7),2m_{2023}\equiv-1\pmod7, so m2023=3.m_{2023}=3. Hence S2019=6⋅22019+17,S2023=3⋅22023+17.\begin{gathered}S_{2019}=\frac{6\cdot2^{2019}+1}{7},\\ S_{2023}=\frac{3\cdot2^{2023}+1}{7}.\end{gathered}
Finally, S2023−S201922019=3⋅24−67=6. \frac{S_{2023}-S_{2019}}{2^{2019}} =\frac{3\cdot2^4-6}{7}=6.
Thus, the correct answer is A .
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.