Browse · MathNet
PrintTeam Selection Test for EGMO 2024
Turkey 2024 counting and probability
Problem
Let be a given prime number and be integers. For each integer , the set is constructed by choosing exactly one square from each column of a given chessboard. Given that for all and for every pair of squares belonging to different columns there exists an containing these two squares. Find all possible pairs in terms of .
Solution
Only .
Obviously for every . Also note that given conditions imply that for every pair of squares belonging to different columns there exists a unique containing these two squares. Therefore, by a double counting argument we get , which yields .
Let and be two different squares in the first column. By the given conditions, if we consider the squares in the second column, we see that there exist exactly sets containing . Now any set containing must intersect those sets in different columns. Thus, we obtain . On the other hand, at each column we must see an intersection as there are squares in a column and there are sets containing . Therefore, we can conclude that .
We next give an example for the sets when and . In each column numerate the squares from to from bottom to top. Also numerate the columns from left to right as . For any let be the set containing from column and (mod ) from column for .
Note that it is enough to verify that any two of those sets have exactly one common square. Let . Then . So for .
Let . . Since is prime, that inverse always exists and that is unique. Thus, for all , and . The solution is completed.
Obviously for every . Also note that given conditions imply that for every pair of squares belonging to different columns there exists a unique containing these two squares. Therefore, by a double counting argument we get , which yields .
Let and be two different squares in the first column. By the given conditions, if we consider the squares in the second column, we see that there exist exactly sets containing . Now any set containing must intersect those sets in different columns. Thus, we obtain . On the other hand, at each column we must see an intersection as there are squares in a column and there are sets containing . Therefore, we can conclude that .
We next give an example for the sets when and . In each column numerate the squares from to from bottom to top. Also numerate the columns from left to right as . For any let be the set containing from column and (mod ) from column for .
Note that it is enough to verify that any two of those sets have exactly one common square. Let . Then . So for .
Let . . Since is prime, that inverse always exists and that is unique. Thus, for all , and . The solution is completed.
Final answer
(p^2, p+1)
Techniques
Counting two waysPigeonhole principleInverses mod n