HMMT 十一月 2025 · 冲刺赛 · 第 27 题
HMMT November 2025 — Guts Round — Problem 27
题目详情
- [13] Let a , a , a , . . . be a sequence of integers such that a = 2 and a = a − a + 1 for all n ≥ 1.
1 2 3 1 n +1 nn
Compute the remainder when a is divided by 7 .3
© 2025 HMMT500
HMMT November 2025, November 08, 2025 — GUTS ROUND
Organization Team Team ID#
英文原题
[13] Let a 1 , a 2 , a 3 , . . . be a sequence of integers such that a 1 = 2 and a n +1 = a 7
n − a n + 1 for all n ≥ 1.
Compute the remainder when a 500 is divided by 7 3 .
© 2025 HMMT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HMMT November 2025, November 08, 2025 — GUTS ROUND
Organization Team Team ID#
解析
英文解析
- [13] Let a , a , a , . . . be a sequence of integers such that a = 2 and a = a − a + 1 for all n ≥ 1.
1 2 3 1 n +1 nn
Compute the remainder when a is divided by 7 .3
Proposed by: Pitchayut Saengrungkongka 500
Answer: 274
Solution: Let p = 7. Notice that for all n ≥ 1,
a ≡ a − a + 1 ≡ a − a + 1 ≡ 1 (mod p ) .pn +1 n n n
Therefore, there exists a sequence of integers x , x , . . . such that we can write a = 1 + px forn
2 3 n +1 n +1
all n ≥ 1. Plugging this into the recurrence, we have
1 + px = an +1 n +1 = a − a + 17 = (1 + px ) − (1 + px ) + 1 pnnn np p p = · · · + ( px ) + ( px ) + − px 2
n n n
2 1 0
2 3
≡ p x − px + 1 (mod p )
n n
≡ 1 + p (( p − 1) x ) (mod p ) .3
By repeatedly applying this fact, we getnn − 2 3
1 + px ≡ 1 + p (( p − 1) x ) (mod p )
n 2
© 2025 HMMTfor all n ≥ 2.
We have a = 127 = 1 + 7 · 18, so x = 18. Now, using the above identity,
2 2
a = 1 + px
500 500
≡ 1 + p (( p − 1) x )498
4982
≡ 1 + p · 18 · ( p − 1)
≡ 1 + p · 18 · (1 − 498 p + · · · )
≡ 1 + p · 18 · (1 − 498 p )
≡ 1 + 7 · 18 − 7 · 18 · 4982
≡ 1 + 7 · 18 − 7 · 4 · 12
≡ 127 − 196 ≡ − 69 ≡ 274 (mod p ) .3