AMC 12 Mock Exam 1 Problem 25
Problem 25 of 25
A cashier has envelopes on a table, containing , respectively. She will pick up some of the envelopes, possibly none, so that the total amount of money she picks up is a multiple of . (Picking up no envelopes gives a total of , which counts.) How many different sets of envelopes can she pick up?
Answer choices
Show solution
Solution
We must count subsets of (including the empty set) whose sum is divisible by . Let and , whose coefficient of counts the subsets with sum . The number of subsets with sum divisible by is Fix and let be the order of (so ). As runs over , runs over all -th roots of unity, each exactly times. Since , setting gives , which is if is even and if is odd. So when is even and when is odd.
The odd values of dividing are (only ) and (the two values ). Therefore
Tagged: subset sums modulo 12, roots-of-unity filter