返回题库

HMMT 二月 2025 · 冲刺赛 · 第 19 题

HMMT February 2025 — Guts Round — Problem 19

专题
Contest Math / 竞赛数学
难度
L3
来源
HMMT

题目详情

英文原题

  1. [11] A subset S of { 1 , 2 , 3 , . . . , 2025 } is called balanced if for all elements a and b both in S , there existsan element c in S such that 2025 divides a + b − 2 c . Compute the number of nonempty balanced subsets.
解析

英文解析

  1. [11] A subset S of { 1 , 2 , 3 , . . . , 2025 } is called balanced if for all elements a and b both in S , thereexists an element c in S such that 2025 divides a + b − 2 c . Compute the number of nonempty balancedsubsets.
    Proposed by: Jacob Paltrowitz
    Answer: 3751
    a + b
    Solution: We work mod 2025, so the condition becomes that for any a , b ∈ S , we have ∈ S .
    First, we prove that S must be an arithmetic sequence. Observe that if S is balanced, then so is the 2
    shift S + k = { s + k | s ∈ S } for all k , so we can assume 0 ∈ S . Let s be an element of S such thatt 0+ t sd = gcd( s, 2025) is minimal. Observe that for any t ∈ S , we have = ∈ S . Thus, is in S for alln
    2 2 2
    n . Because gcd(2 , 2025) = 1, this implies 2 s mod 2025 ∈ S for all n . We prove the following claim.n
    Claim 1. For all positive integers m , we have ms ∈ S .
    Proof. We proceed with induction on the number of 1’s in the binary representation of m .
    Base Case: m has one 1 in binary, so m is a power of 2. Then ms ∈ S as noted above.
    Induction Step: Assume the claim holds for all m which have k 1’s in their binary representations.
    Suppose m has k + 1 1’s in its binary representation. Let 2 be the largest power of 2 which is at mostnn nm . Then m − 2 has k 1’s in its binary representation, so 2( m − 2 ) does as well. By the inductionn +1 n
    2 s +2( m − 2 ) sn n +1
    hypothesis, 2( m − 2 ) s ∈ S . Also, 2 s ∈ S , so ms = ∈ S , as desired.
    It follows that every multiple of s is in S . The multiples of s are precisely the multiples of d , so S2
    contains every multiple of d . Now assume for sake of contradiction that S contains some element twhich is not a multiple of d , so we can write t = cd + r such that 0 < r < d . Then 2 t ∈ S , so
    2 t +( − 2 c ) dr = ∈ S . But then gcd( r, 2025) ≤ r < d , contradicting the minimality of d . Thus S isprecisely the multiples of d .2
    It can be verified that for any d | 2025, the set of multiples of d is balanced. Indeed, as d is odd, for
    ( a + b ) dany ad , bd ∈ S , their average is a multiple of d and hence also in S . Thus, any shift of sucha set is also balanced; as seen above, these classify all balanced sets. For each d | 2025, there are d 2
    5 3P
    3 − 1 5 − 1
    choices for S , so the answer is d = · = 3751 .
    d | 2025
    2 4