Skip to main content
OlympiadHQ

Browse · MathNet

Print

Balkan Mathematical Olympiad Shortlist

counting and probability

Problem

The International Mathematical Olympiad is being organized in Japan, where a folklore belief is that the number 4 brings bad luck. The opening ceremony takes place at the Grand Theatre where each row has the capacity of 55 seats. What is the maximum number of contestants that can be seated in a single row with the restriction that no two of them are 4 seats apart (so that bad luck during the competition is avoided)?
Solution
Denote the desired number by . Consider the set consisting of all integers of the form , for and , i.e. If then . Therefore, is divisible by . On the other hand, applying , a contradiction. Since has cardinality , we have .

Consider subset of having cardinality . A pair is called good if , and .

For every there exists exactly one for to be a good pair. For all remaining values of there exist two values of for to be a good pair. Therefore, the number of good pairs is at least . On the other hand, this number is at most (since for every there exist at most two good pairs ). Thus, applying . Therefore .
Final answer
30

Techniques

Counting two waysColoring schemes, extremal arguments