HMMT 二月 2022 · COMB 赛 · 第 8 题
HMMT February 2022 — COMB Round — Problem 8
题目详情
英文原题
- Random sequences a , a , . . . and b , b , . . . are chosen so that every element in each sequence is chosen
1 2 1 2
independently and uniformly from the set { 0 , 1 , 2 , 3 , . . . , 100 } . Compute the expected value of thesmallest nonnegative integer s such that there exist positive integers m and n withm n
X Xs = a = b .
i ji =1 j =1
解析
英文解析
- Random sequences a , a , . . . and b , b , . . . are chosen so that every element in each sequence is chosen
1 2 1 2
independently and uniformly from the set { 0 , 1 , 2 , 3 , . . . , 100 } . Compute the expected value of thesmallest nonnegative integer s such that there exist positive integers m and n withm n
X Xs = a = b .
i ji =1 j =1
Proposed by: Gabriel Wu
Answer: 2550
Solution: Let’s first solve the problem, ignoring the possibility that the a and b can be zero. Call ai ipositive integer s an A -sum if s = a for some nonnegative integer m (in particular, 0 is alwaysm pii =1
an A -sum). Define the term B -sum similarly. Let E be the expected value of the smallest positiveinteger that is both an A -sum and a B -sum.
The first key observation to make is that if s is both an A -sum and a B -sum, then the distance to thenext number that is both an A -sum and a B -sum is E . To see this, note that ifm n
X Xs = a = bi ii =1 j =1
the distance to the next number that is both an A -sum and a B -sum is the minimal positive integer t
′ ′
so that there exist m and n so that
′ ′
m n
X Xt = a = b .
m + i n + ii =1 j =1
This is the same question of which we defined E to be the answer, but with renamed variables, so theexpected value of t is E . As a result, we conclude that the expected density of numbers that are both
A -sums and B -sums is .1
101E
We now compute this density. Note that since the expected value of a is , the density of A -sumsi
2 22
is . Also, the density of B -sums if . Moreover, as n goes to infinity, the probability that n is
101 101
2 2
an A -sum approaches and the probability that n is a B -sum approaches . Thus, the density of
101 101
4 1012
numbers that are simultaneously A -sums and B -sums is , so E = .
101 42
We now add back the possibility that some of the a and b can be 0. The only way this changes ouri ianswer is that the s we seek can be 0, which happens if and only if a = b = 0. Thus our final answer
1 1
2 2 2 is
1 101 − 1 101 101 − 1
· 0 + · = = 2550 .
2 2
101 101 4 4