Skip to main content
OlympiadHQ

Browse · harp

Print

smc

counting and probability senior

Problem

How many strings of length formed from the digits , , , , are there such that for each , at least of the digits are less than ? (For example, satisfies this condition because it contains at least digit less than , at least digits less than , at least digits less than , and at least digits less than . The string does not satisfy the condition because it does not contain at least digits less than .)
(A)
(B)
(C)
(D)
(E)
Solution
For some , let there be parking spaces counterclockwise in a circle. Consider a string of integers each between and , and let cars come into this circle so that the th car tries to park at spot , but if it is already taken then it instead keeps going counterclockwise and takes the next available spot. After this process, exactly one spot will remain empty. Then the strings of numbers between and that contain at least integers for are exactly the set of strings that leave spot empty. Also note for any string , we can add to each (mod ) to shift the empty spot counterclockwise, meaning for each string there exists exactly one with so that leaves spot empty. This gives there are such strings. Plugging in gives such strings. Note: If you are confused, the problem is equivalent to 'How many strings of length formed from the digits , , , , , are there such that for each , at least of the digits are less than ?'
Final answer
E