Difference between revisions of "2019 USAMO Problems/Problem 4"
Mathiscool12 (talk | contribs) m |
m (→Solution 1) |
||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
==Solution 1== | ==Solution 1== | ||
− | Note that there are <math>(2n)!</math> ways to choose <math>S_{1, 0}, S_{2, 0}... S_{n, 0}, S_{n, 1}, S_{n, 2}... | + | Note that there are <math>(2n)!</math> ways to choose <math>S_{1, 0}, S_{2, 0}... S_{n, 0}, S_{n, 1}, S_{n, 2}... S_{n, n}</math>, because there are <math>2n</math> ways to choose which number <math>S_{1, 0}</math> is, <math>2n-1</math> ways to choose which number to append to make <math>S_{2, 0}</math>, <math>2n-2</math> ways to choose which number to append to make <math>S_{3, 0}</math>, etc. After that, note that <math>S_{n-1, 1}</math> contains the <math>n-1</math> in <math>S_{n-1, 0}</math> and 1 other element chosen from the 2 elements in <math>S_{n, 1}</math> not in <math>S_{n-1, 0}</math> so there are 2 ways for <math>S_{n-1, 1}</math>. By the same logic there are 2 ways for <math>S_{n-1, 2}</math> as well so <math>2^n</math> total ways for all <math>S_{n-1, j}</math>, so doing the same thing <math>n-1</math> more times yields a final answer of <math>(2n)!\cdot 2^{\left(n^2\right)}</math>. |
-Stormersyle | -Stormersyle | ||
Line 30: | Line 30: | ||
-Alexlikemath | -Alexlikemath | ||
+ | ==Solution 3== | ||
+ | Let <math>C_{j}</math> represent the set of sets of the form <math>S_{ij}</math> for <math>1 \le i \le n</math>, <math>a_{ij}</math> denote <math>S_{(i+1)j} \backslash S_{ij}</math>, and <math>b_{ij} = S_{i(j+1)} \backslash S_{ij}</math>. Begin by considering <math>C_0</math> and <math>S_{00} = \emptyset</math>. Then given <math>S_{i0}</math> we can create <math>S_{(i+1)0}</math> by adding one element (<math>a_{i0}</math>). Using this, the number of ways to form the sequence of <math>S_{00}, S_{10}, \dots, S_{n0}</math> are <math>(2n)(2n-1) \cdots (n+1)</math> where we successively add one of the remaining elements of <math>[2n]</math> to get consecutive terms in the sequence. | ||
+ | |||
+ | Now consider when we are given <math>C_{j}</math> and we need to find <math>C_{j+1}</math>. So far, there have been <math>n + j</math> chosen distinct elements (via <math>S_{nj}</math>). After finding <math>C_{j+1}</math> we will have <math>n + j + 1</math> distinct elements and so in this process we only add one unique element to sets among <math>C_{j+1}</math>. There are <math>2n - (n+j) = n-j</math> ways to chose such a new element called <math>x</math>. | ||
+ | |||
+ | Now notice that <math>b_{0j}, a_{0(j+1)}, a_{1(j+1)}, \dots, a_{(n-1)(j+1)}</math> is a permutation of <math>x, a_{0j}, \dots, a_{(n-1)j}</math> by noting <math>b_{nj} = x</math> and, | ||
+ | <cmath>S_{0j} + b_{0j} + a_{0(j+1)} + a_{1(j+1)} + \cdots + a_{(n-1)(j+1)} = S_{n(j+1)} = S_{0j} + a_{0j}+ a_{1j} + \cdots + a_{(n-1)j} + b_{nj}</cmath> | ||
+ | Furthermore, | ||
+ | <cmath>\begin{align*} | ||
+ | S_{0j} + b_{0j} + a_{0(j+1)} &= S_{1(j+1)} = S_{0j} + a_{0j} + b_{1j} \\ | ||
+ | S_{1j} + b_{1j} + a_{1(j+1)} &= S_{2(j+1)} = S_{1j} + a_{1j} + b_{2j} \\ | ||
+ | &\cdots \\ | ||
+ | S_{(n-1)j} + b_{(n-1)j} + a_{(n-1)(j+1)} &= S_{n(j+1)} = S_{(n-1)j} + a_{(n-1)j} + b_{nj} . | ||
+ | \end{align*}</cmath> | ||
+ | Therefore <math>b_{ij}, a_{i(j+1)}</math> is a permutation of <math>a_{ij}, b_{(i+1)j}</math> for <math>i < n</math>. Now let <math>k</math> be the first <math>i</math> such that <math>b_{ij} = x</math>. By definition, <math>b_{(k+1)j}, \dots = x</math>. Then the number of ways to order <math>x, a_{0j}, \dots, a_{(n-1)j}</math> is <math>2^{k-1}</math> as there are 2 permutations for each pair before <math>\{b_{ij}, a_{i(j+1)}\} = \{a_{ij}, b_{(i+1)j}\}</math> and each pair after is determined by <math>b_{ij}= b_{(i+1)j} = k, a_{i(j+1)} = a_{ij}</math>. For <math>k = 0</math>, the permutation is completely determined so there is one way. | ||
+ | |||
+ | Overall the number of ways to add the <math>j+1</math>'th row is, <cmath>(n-j)(1 + \sum_{k = 1}^n 2^{k-1}) = 2^n(n-j).</cmath> | ||
+ | |||
+ | In total, there are <math>(2n)(2n-1)\cdots (n+1)</math> ways to find <math>C_0</math> and for each <math>C_{j}</math> there are <math>2^n(n-j+1)</math> ways for <math>1 \le j \le n</math>. So the answer is, <cmath>\frac{2n!}{n!}(2^nn)(2^{n}(n-1)) \cdots (2^{n}1) = \boxed{2^{n^2} \cdot (2n)!}.</cmath> | ||
+ | |||
+ | ~Aaryabhatta1 | ||
{{MAA Notice}} | {{MAA Notice}} |
Latest revision as of 18:17, 26 April 2023
Contents
Problem
Let be a nonnegative integer. Determine the number of ways that one can choose sets , for integers with , such that:
for all , the set has elements; and
whenever and .
Solution 1
Note that there are ways to choose , because there are ways to choose which number is, ways to choose which number to append to make , ways to choose which number to append to make , etc. After that, note that contains the in and 1 other element chosen from the 2 elements in not in so there are 2 ways for . By the same logic there are 2 ways for as well so total ways for all , so doing the same thing more times yields a final answer of .
-Stormersyle
Solution 2
There are ways to choose . Since, there are ways to choose , and after that, to generate , you take and add 2 new elements, getting you ways to generate . And you can keep going down the line, and you get that there are ways to pick Then we can fill out the rest of the gird. First, let’s prove a lemma.
Lemma
Claim: If we know what is and what is, then there are 2 choices for both and .
Proof: Note and , so . Let be a set that contains all the elements in that are not in . . We know contains total elements. And contains total elements. That means contains only 2 elements since . Let’s call these 2 elements . . contains 1 elements more than and 1 elements less than . That 1 elements has to select from . It’s easy to see or , so there are 2 choice for . Same thing applies to .
Filling in the rest of the grid
We used our proved lemma, and we can fill in then we can fill in the next diagonal, until all are filled, where . But, we haven’t finished everything! Fortunately, filling out the rest of the diagonals in a similar fashion is pretty simple. And, it’s easy to see that we have made decisions, each with 2 choices, when filling out the rest of the grid, so there are ways to finish off.
Finishing off
To finish off, we have ways to fill in the grid, which gets us
-Alexlikemath
Solution 3
Let represent the set of sets of the form for , denote , and . Begin by considering and . Then given we can create by adding one element (). Using this, the number of ways to form the sequence of are where we successively add one of the remaining elements of to get consecutive terms in the sequence.
Now consider when we are given and we need to find . So far, there have been chosen distinct elements (via ). After finding we will have distinct elements and so in this process we only add one unique element to sets among . There are ways to chose such a new element called .
Now notice that is a permutation of by noting and, Furthermore, Therefore is a permutation of for . Now let be the first such that . By definition, . Then the number of ways to order is as there are 2 permutations for each pair before and each pair after is determined by . For , the permutation is completely determined so there is one way.
Overall the number of ways to add the 'th row is,
In total, there are ways to find and for each there are ways for . So the answer is,
~Aaryabhatta1
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.
See also
2019 USAMO (Problems • Resources) | ||
Preceded by Problem 3 |
Followed by Problem 5 | |
1 • 2 • 3 • 4 • 5 • 6 | ||
All USAMO Problems and Solutions |