HMMT 十一月 2024 · THM 赛 · 第 8 题
HMMT November 2024 — THM Round — Problem 8
题目详情
英文原题
- For all positive integers r and s , let Top( r, s ) denote the top number (i.e., numerator) when is writtensin simplified form. For instance, Top(20 , 24) = 5 . Compute the number of ordered pairs of positiveintegers ( a, z ) such that 200 ≤ a ≤ 300 and Top( a, z ) = Top( z, a − 1) .
解析
英文解析
- For all positive integers r and s , let Top( r, s ) denote the top number (i.e., numerator) when is writtensin simplified form. For instance, Top(20 , 24) = 5. Compute the number of ordered pairs of positiveintegers ( a, z ) such that 200 ≤ a ≤ 300 and Top( a, z ) = Top( z, a − 1).
Proposed by: David Dong, Derek Liu, Henrick Rabinovitz, Jackson Dryg, Krishna Pothapragada, Linus
Yifeng Tang, Pitchayut Saengrungkongka, Srinivas Arun
Answer: 38
Solution: In general, Top( r, s ) = . We characterize all possible ( a, z ) as follows.rgcd( r,s )
Claim 1. For any positive integers a and z , we have Top( a, z ) = Top( z, a − 1) if and only if there
2 2
exists positive integers d and e such that e | d − 1, a = d , and z = de .
2 2
d d
Proof. ( ⇐ ) From e | d − 1, we deduce that gcd( d, e ) = 1. Thus, Top( a, z ) = = = d . We 2
gcd( d ,de ) d 2
2 dealso have gcd( z, a − 1) = gcd( de, d − 1) = e , so Top( z, a − 1) = = d as well.
( ⇒ ) Let d = gcd( a, z ) and e = gcd( z, a − 1). We have that gcd( d, e ) = 1 because it divides both a andea/da z a da − 1. The equation implies that = , or = . The left side has simplified form , and the rightd e z e z/d
2 2
side is already simplified. Thus, a = d and z = de . Finally, e = gcd( z, a − 1) | a − 1 = d − 1.
The condition that 200 ≤ a ≤ 300 implies d ∈ { 15 , 16 , 17 } . Once we select d , each divisor e of d − 12
yields a solution. Thus, the answer is
2 2 2
τ (15 − 1) + τ (16 − 1) + τ (17 − 1) = τ (14 · 16) + τ (15 · 17) + τ (16 · 18) = 12 + 8 + 18 = 38 ,
where τ ( n ) is the number of divisors of n .