Problem:
For any finite set X, let β£Xβ£ denote the number of elements in X. Define
Snβ=ββ£Aβ©Bβ£
where the sum is taken over all ordered pairs (A,B) such that A and B are subsets of {1,2,3,β―,n} with β£Aβ£=β£Bβ£. For example, S2β=4 because the sum is taken over the pairs of subsets
(A,B)β{(β
,β
),({1},{1}),({1},{2}),({2},{1}),({2},{2}),({1,2},{1,2})}
giving S2β=0+1+0+0+1+2=4. Let S2021βS2022ββ=qpβ, where p and q are relatively prime positive integers. Find the remainder when p+q is divided by 1000.
Solution:
Suppose we choose a subset of size k, and we are choosing from {1,2,3,...,n}.
then, the probability any of the numbers 1,2,...,n is in the first set is nkβ, and the probability that it would be in the second is nkβ, so by linearity of expectation the expected number would be
nβ
nkββ
nkβ
and we'd sum this times the number of ways to choose the subsets over all possible subset sizes to get the sum
k=1βnβnβ
nkβnkββ
(knβ)2
From here, we can simplify this summation by expanding the binomial to get
nk=1βnβ(kβ1nβ1β)(nβknβ1β)
We can simplify this using Vandermonde's identity, which is as follows:
(rm+nβ)=k=0βrβ(kmβ)(rβknβ)
In this case, we'd have that
nk=1βnβ(kβ1nβ1β)(nβknβ1β)=n(nβ12nβ2β)
Plugging in appropriate values for 2022 and 2021 yields an answer of
2021(20204040β)2022(20214042β)β=202132022β
4042β
4041β
and the sum of numerator and denominator mod 1000 is \boxed
The problems on this page are the property of the MAA's American Mathematics Competitions