2018 AIME I Problem 12
Problem 12 of 15HarderNumber TheoryCombinatorics
For each subset of let be the sum of the elements of with defined to be If is chosen at random among all subsets of the probability that is divisible by is where and are relatively prime positive integers. Find
Your answer
Integer from 0 to 999
Show solution
Solution
The set contains six elements in each residue class modulo If contains elements and elements then so is divisible by exactly when the six multiples of may be included freely, contributing a factor to both the favorable and total counts.
By Vandermonde’s identity, the number of ways to choose the s and s with is with it is and with it is The favorable choices number out of
The probability is which is in lowest terms since is odd. Thus
Tagged: subsets · modular arithmetic · combinations · Vandermonde’s Convolution