Browse · MathNet
PrintJapan Mathematical Olympiad Initial Round
Japan counting and probability
Problem
Consider an operation of putting an integer greater than or equal to and less than or equal to to each square in a grid of squares. For a pair of integers with , denote by the integer put into the square located on -th row and -th column after an operation. How many different operations are there which satisfy the following 2 conditions?
For every (), holds. For every choice of with , holds.
For every (), holds. For every choice of with , holds.
Solution
First, we consider how we can obtain an operation that satisfies the two conditions of the problem. Let us begin with the following Lemma: Lemma 1: For every pair of integers and with , is the only integer which appears in both -th row and -th column. Proof of Lemma 1: It is clear that the number appears in both -th row and -th column. Suppose now that for some pair of integers , both lying in between and , some integer appears in both the square located on -th row and -th column and the square located on -th row and -th column, then we have , which implies that is the only number that can appear in both -th row and -th column.
Next, we note that since for any choice of positive integers lying in between and the identity holds, we see that distribution of numbers in -th row and -th row must coincide. Consequently, for any pair of numbers lying in between and , no pair exists for which , if the distribution of numbers in -th and -th rows are different. In other words, for any pair of rows the distributions of integers in them either coincide or there exists no integer which appears in both rows.
On the other hand, for any integer lying in between and , holds; therefore, in -th row number appears at least once. In view of this fact and the fact mentioned above, we can conclude that the set of positive integers is partitioned into the collection , (where is a positive integer ), of non-empty subsets, which satisfies the following condition: For any and for any , the set coincides with the set of all numbers appearing in -th row.
By considering columns instead of rows, we can also obtain the following: The set of positive integers is partitioned into the collection , (where is a positive integer ), of non-empty subsets, which satisfies the following condition: For any and for any , the set coincides with the set of all numbers appearing in -th column.
From Lemma 1 it follows that for any pair of numbers with and , there is a unique integer belonging to the set . Denote this integer by . Then we can show the following: Lemma 2: For any choice of , . Proof of Lemma 2: First, we note that for any pair , holds. Therefore, we see that for , we have proving the Lemma.
Now, since both and are partitions of the set , we see that in the enumeration
Lemma 3: When positive integers satisfying and enumeration () above of the numbers are given, assignment of numbers into squares to satisfy the statement of Lemma 2 is uniquely determined, and this assignment satisfies the conditions of the problem. Proof of Lemma 3: First, we note that the two conditions of the problem can be stated in terms of as follows: Since for each lying in between and , there is a unique pair and for which , we see that the claim of Lemma 3 is valid.
Now if we consider an assignment of numbers satisfying the conditions of the problem, then there are enumeration ()'s giving this assignment corresponding to the number of permutations of sets and . For each pair satisfying there are different ()'s, and therefore, the number of ways of assignments satisfying the conditions of the problem is , which yields
Next, we note that since for any choice of positive integers lying in between and the identity holds, we see that distribution of numbers in -th row and -th row must coincide. Consequently, for any pair of numbers lying in between and , no pair exists for which , if the distribution of numbers in -th and -th rows are different. In other words, for any pair of rows the distributions of integers in them either coincide or there exists no integer which appears in both rows.
On the other hand, for any integer lying in between and , holds; therefore, in -th row number appears at least once. In view of this fact and the fact mentioned above, we can conclude that the set of positive integers is partitioned into the collection , (where is a positive integer ), of non-empty subsets, which satisfies the following condition: For any and for any , the set coincides with the set of all numbers appearing in -th row.
By considering columns instead of rows, we can also obtain the following: The set of positive integers is partitioned into the collection , (where is a positive integer ), of non-empty subsets, which satisfies the following condition: For any and for any , the set coincides with the set of all numbers appearing in -th column.
From Lemma 1 it follows that for any pair of numbers with and , there is a unique integer belonging to the set . Denote this integer by . Then we can show the following: Lemma 2: For any choice of , . Proof of Lemma 2: First, we note that for any pair , holds. Therefore, we see that for , we have proving the Lemma.
Now, since both and are partitions of the set , we see that in the enumeration
Lemma 3: When positive integers satisfying and enumeration () above of the numbers are given, assignment of numbers into squares to satisfy the statement of Lemma 2 is uniquely determined, and this assignment satisfies the conditions of the problem. Proof of Lemma 3: First, we note that the two conditions of the problem can be stated in terms of as follows: Since for each lying in between and , there is a unique pair and for which , we see that the claim of Lemma 3 is valid.
Now if we consider an assignment of numbers satisfying the conditions of the problem, then there are enumeration ()'s giving this assignment corresponding to the number of permutations of sets and . For each pair satisfying there are different ()'s, and therefore, the number of ways of assignments satisfying the conditions of the problem is , which yields
Final answer
122
Techniques
Enumeration with symmetryCounting two waysFunctional equations