Difference between revisions of "2016 JBMO Problems/Problem 4"
(→Problem) |
(\* Solution *\) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | __TOC__ | ||
+ | |||
== Problem == | == Problem == | ||
− | A <math>5 \times 5</math> table is called regular | + | A <math>5 \times 5</math> table is called regular if each of its cells contains one of four pairwise distinct real numbers, such that each of them occurs exactly once in every <math>2 \times 2</math> subtable.The sum of all numbers of a regular table is called the total sum of the table. With any four numbers, one constructs all possible regular tables, computes their total sums, and counts the distinct outcomes. Determine the maximum possible count. |
== Solution == | == Solution == | ||
+ | ===Solution 1 (Official solution)=== | ||
+ | We will prove that the maximum number of total sums is <math>60</math>. | ||
+ | The proof is based on the following claim: | ||
+ | In a regular table either each row contains exactly two of the numbers or each column contains exactly two of the numbers. | ||
+ | |||
+ | Proof of the Claim: | ||
+ | |||
+ | Let R be a row containing at least three of the numbers. Then, in row <math>R</math> we can find three of the numbers in consecutive positions, let <math>x</math>, <math>y</math>, <math>z</math> be the numbers in consecutive positions(where <math>{x, y, s, z} = {a, b, c, d}</math>). Due to our hypothesis that in every | ||
+ | <math>2 × 2</math> subarrays each number is used exactly once, in the row above <math>R</math>(if there is such a row), precisely above the numbers <math>x</math>, <math>y</math>, <math>z</math> will be the numbers <math>z</math>, <math>t</math>, <math>x</math> in this order. And above them will be the numbers <math>x</math>, <math>y</math>, and <math>z</math> in this order. The same happens in the rows below <math>R</math> (see the following figure). | ||
+ | |||
+ | |||
+ | {| class="wikitable" | ||
+ | | • || x || y || z || • | ||
+ | |- | ||
+ | | • || z || t || x || • | ||
+ | |- | ||
+ | | • || x || y || z || • | ||
+ | |- | ||
+ | | • || z || t || x || • | ||
+ | |- | ||
+ | | • || x || y || z || • | ||
+ | |} | ||
+ | |||
+ | |||
+ | Completing the array, it easily follows that each column contains exactly two of the numbers | ||
+ | and our claim is proven. <b>(1)</b> | ||
+ | Rotating the matrix (if it is necessary), we may assume that each row contains exactly two of the numbers. If we forget the first row and column from the array, we obtain a <math>4 × 4</math> array, that can be divided into four <math>2 × 2</math> subarrays, containing thus each number exactly four times, with a total sum of <math>4(a + b + c + d)</math>. | ||
+ | It suffices to find how many different ways are there to put the numbers in the first row <math>R1</math> and | ||
+ | the first column <math>C1</math>. <b>(2)</b> | ||
+ | |||
+ | Denoting by <math>a_1</math>, <math>b_1</math>, <math>c_1</math>, <math>d_1</math> the number of appearances of <math>a</math>, <math>b</math>, <math>c</math>, and <math>d</math> respectively in <math>R1</math> and <math>C1</math>, the total sum of the numbers in the entire <math>5 × 5</math> array will be <math>S = 4(a + b + c + d) + a1 \cdot a + b1 \cdot b + c1 \cdot c + d1 \cdot d</math>. <b>(3)</b> | ||
+ | |||
+ | If the first, third, and the fifth row contain the numbers <math>x</math> and <math>y</math>, with <math>x</math> denoting the number at the entry <math>(1, 1)</math>, then the second and the fourth row will contain only the numbers <math>z</math>, <math>t</math>, with <math>z</math> denoting the number at the entry <math>(2, 1)</math>. Then <math>x_1 + y_1 = 7</math> and <math>x_1 > 3</math>, <math>y_1 > 2</math>, <math>z_1 + t_1 = 2</math>, and <math>z_1 > t_1</math>. Then <math>{x_1, y_1} = {5, 2}</math> or <math>{x_1, y_1} = {4, 3}</math>, respectively <math>{z_1, t_1} = {2, 0}</math> or <math>{z_1, t_1} = {1, 1}</math>. <b>(4)</b> | ||
+ | |||
+ | Then <math>(a_1, b_1, c_1, d_1)</math> is obtained by permuting one of the following quadruples: | ||
+ | <math>(5, 2, 2, 0)</math>, <math>(5, 2, 1, 1)</math>, <math>(4, 3, 2, 0)</math>, or <math>(4, 3, 1, 1)</math>. <b>(5)</b> | ||
+ | |||
+ | There are a total of <math>4!/2! = 12</math> permutations of <math>(5, 2, 2, 0)</math>, <math>12</math> permutations of <math>(5, 2, 1, 1)</math>, <math>24</math> permutations of <math>(4, 3, 2, 0)</math>, and <math>12</math> permutations of <math>(4, 3, 1, 1)</math>. Hence, there are at most <math>60</math> different possible total sums. <b>(6)</b> | ||
+ | |||
+ | We can obtain indeed each of these <math>60</math> combinations: take three rows <math>ababa</math> alternating with two rows <math>cdcdc</math> to get <math>(5, 2, 2, 0)</math>; take three rows <math>ababa</math> alternating with one row <math>cdcdc</math> and a row <math>dcdcd</math> to get <math>(5, 2, 1, 1)</math>; take three rows <math>ababc</math> alternating with two rows <math>cdcda</math> to get <math>(4, 3, 2, 0)</math>; take three rows <math>abcda</math> alternating with two rows <math>cdabc</math> to get <math>(4, 3, 1, 1)</math>. <b>(7)</b> | ||
+ | |||
+ | By choosing for example <math>a = 103</math>, <math>b = 102</math>, <math>c = 10</math>, and <math>d = 1</math>, we can make all these sums different. | ||
+ | <b>(8)</b> | ||
+ | |||
+ | Hence, the maximum possible number of different sums is <math>\boxed{60}</math>. | ||
== See also == | == See also == | ||
{{JBMO box|year=2016|num-b=3|after=Last Problem|five=}} | {{JBMO box|year=2016|num-b=3|after=Last Problem|five=}} | ||
+ | |||
+ | [[Category:Intermediate Combinatorics Problems]] |
Latest revision as of 00:20, 12 January 2023
Problem
A table is called regular if each of its cells contains one of four pairwise distinct real numbers, such that each of them occurs exactly once in every subtable.The sum of all numbers of a regular table is called the total sum of the table. With any four numbers, one constructs all possible regular tables, computes their total sums, and counts the distinct outcomes. Determine the maximum possible count.
Solution
Solution 1 (Official solution)
We will prove that the maximum number of total sums is . The proof is based on the following claim: In a regular table either each row contains exactly two of the numbers or each column contains exactly two of the numbers.
Proof of the Claim:
Let R be a row containing at least three of the numbers. Then, in row we can find three of the numbers in consecutive positions, let , , be the numbers in consecutive positions(where ). Due to our hypothesis that in every subarrays each number is used exactly once, in the row above (if there is such a row), precisely above the numbers , , will be the numbers , , in this order. And above them will be the numbers , , and in this order. The same happens in the rows below (see the following figure).
• | x | y | z | • |
• | z | t | x | • |
• | x | y | z | • |
• | z | t | x | • |
• | x | y | z | • |
Completing the array, it easily follows that each column contains exactly two of the numbers
and our claim is proven. (1)
Rotating the matrix (if it is necessary), we may assume that each row contains exactly two of the numbers. If we forget the first row and column from the array, we obtain a array, that can be divided into four subarrays, containing thus each number exactly four times, with a total sum of .
It suffices to find how many different ways are there to put the numbers in the first row and the first column . (2)
Denoting by , , , the number of appearances of , , , and respectively in and , the total sum of the numbers in the entire array will be . (3)
If the first, third, and the fifth row contain the numbers and , with denoting the number at the entry , then the second and the fourth row will contain only the numbers , , with denoting the number at the entry . Then and , , , and . Then or , respectively or . (4)
Then is obtained by permuting one of the following quadruples: , , , or . (5)
There are a total of permutations of , permutations of , permutations of , and permutations of . Hence, there are at most different possible total sums. (6)
We can obtain indeed each of these combinations: take three rows alternating with two rows to get ; take three rows alternating with one row and a row to get ; take three rows alternating with two rows to get ; take three rows alternating with two rows to get . (7)
By choosing for example , , , and , we can make all these sums different. (8)
Hence, the maximum possible number of different sums is .
See also
2016 JBMO (Problems • Resources) | ||
Preceded by Problem 3 |
Followed by Last Problem | |
1 • 2 • 3 • 4 | ||
All JBMO Problems and Solutions |