Skip to main content
OlympiadHQ

Browse · MathNet

Print

2015 Ninth STARS OF MATHEMATICS Competition

Romania 2015 counting and probability

Problem

Given an integer and a permutation of the first positive integers, show that at least distinct residue classes modulo occur in the list .
Solution
Let be the remainder of the partial sum upon division by , and let be the number of distinct residues in the list . Since there are distinct integers in the list, the number of ordered pairs with different entries that can be formed from these integers does not exceed . On the other hand, of the distinct ordered pairs , , at most one has equal entries, so . Consequently, if , the latter inequality being strict if . If , and , , and , then the corresponding list of residues is 2, 2, 1, 2, so . Finally, if , then every permutation produces a list consisting of exactly distinct residues. (If , the identity produces the list 1, 1, so .)

Techniques

Counting two waysOther