Difference between revisions of "2018 USAMO Problems/Problem 4"
(Created page with "==Problem 4== Let <math>p</math> be a prime, and let <math>a_1, \dots, a_p</math> be integers. Show that there exists an integer <math>k</math> such that the numbers <cmath>a_...") |
Aaryabhatta1 (talk | contribs) (→Solution 2) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
These <math>p</math> graphs together have exactly one edge for every unordered pair of elements of <math>\{1, 2, ..., p\},</math> so they have a total of exactly <math>\frac{p(p-1)}{2}</math> edges. Therefore, there exists at least one graph <math>G_k</math> that has strictly fewer than <math>\frac{p}{2}</math> edges, meaning that it has more than <math>\frac{p}{2}</math> disconnected components. Therefore, the collection of numbers <math>\{a_i + ik: 1\le i\le p\}</math> for this particular value of <math>k</math> has at least <math>\frac{p}{2}</math> distinct remainders modulo <math>p.</math> This completes the proof. | These <math>p</math> graphs together have exactly one edge for every unordered pair of elements of <math>\{1, 2, ..., p\},</math> so they have a total of exactly <math>\frac{p(p-1)}{2}</math> edges. Therefore, there exists at least one graph <math>G_k</math> that has strictly fewer than <math>\frac{p}{2}</math> edges, meaning that it has more than <math>\frac{p}{2}</math> disconnected components. Therefore, the collection of numbers <math>\{a_i + ik: 1\le i\le p\}</math> for this particular value of <math>k</math> has at least <math>\frac{p}{2}</math> distinct remainders modulo <math>p.</math> This completes the proof. | ||
− | \textbf{Note: This is the same problem as 2018 USAJMO Problem 5.} | + | <math>\textbf{Note: This is the same problem as 2018 USAJMO Problem 5.}</math> |
− | ( | + | ==Solution 2== |
+ | We consider the Lemma and it's proof as in the above solution. | ||
+ | |||
+ | For every <math>k</math>, let <math>x_k</math> be the number of distinct residues that <math>a_i + ik</math> takes on. Further for each residue <math>r_i</math>, let <math>n_i</math> be the number of times it is achieved by an <math>a_j + jk</math> for <math>i \in [1, x_k]</math>. Note that <math>\sum_{i = 1}^{x_k} n_i = p.</math> | ||
+ | |||
+ | The number of pairs <math>(a_i, a_j)</math> s.t <math>(a_i + ik) - (a_j + jk) \equiv 0</math> for a given <math>k</math> is, | ||
+ | <cmath>\begin{align*} | ||
+ | \sum_{i = 1}^{x_k} \binom{n_i}{2} &\ge x_k \binom{(\sum_{i = 1}^{x_k} n_i)/x_k}{2} \\ | ||
+ | &= \frac{1}{2}p(\frac{p}{x_k} - 1). | ||
+ | \end{align*}</cmath> | ||
+ | The first equality is given by a well known theorem, which can be proven by C-S or Jensen's. | ||
+ | |||
+ | Summing over all <math>k</math>, the number of times a pair <math>(a_i, a_j)</math> has <math>(a_i + ik) - (a_j + jk) \equiv 0</math> is, | ||
+ | <cmath>\begin{align*} | ||
+ | \sum_{k = 1}^{p} \frac{1}{2}p(\frac{p}{x_k} - 1). | ||
+ | \end{align*}</cmath> | ||
+ | Alternatively, every pair <math>(a_i, a_j)</math> has a unique <math>k</math> s.t <math>(a_i + ik) - (a_j + jk) \equiv 0</math> by the Lemma so we double-count as, | ||
+ | <cmath>\begin{align*} | ||
+ | \binom{p}{2} &\ge \sum_{k = 1}^{p} \frac{1}{2}p(\frac{p}{x_k} - 1). \\ | ||
+ | 2p - 1 &\ge \sum_{k = 1}^{p} \frac{p}{x_k}. | ||
+ | \end{align*}</cmath> | ||
+ | By AM-HM inequality, | ||
+ | <cmath>\begin{align*} | ||
+ | \sum_{k = 1}^{p} \frac{p}{x_k} &\ge \frac{p^2}{\sum_{k = 1}^{p} \frac{x_k}{p}} \\ | ||
+ | 2p-1 &\ge \frac{p^3}{\sum_{k = 1}^{p} x_k} \\ | ||
+ | \sum_{k = 1}^{p}x_k &\ge \frac{p^3}{2p-1} \ge \frac{p^2}{2}. | ||
+ | \end{align*}</cmath> | ||
+ | So it is clear that <math>\exists k</math> s.t <math>x_k \ge \frac{p}{2}</math>. | ||
+ | |||
+ | ~Aaryabhatta1 |
Latest revision as of 20:46, 20 March 2023
Problem 4
Let be a prime, and let be integers. Show that there exists an integer such that the numbers produce at least distinct remainders upon division by .
Solution
For fixed where the statement holds for exactly one
Notice that the left side minus the right side is congruent to modulo For this difference to equal there is a unique solution for modulo given by where we have used the fact that every nonzero residue modulo has a unique multiplicative inverse. Therefore, there is exactly one that satisfies for any fixed
Suppose that you have graphs and graph consists of the vertices for all Within any graph vertices and are connected by an edge if and only if Notice that the number of disconnected components of any graph equals the number of distinct remainders when divided by given by the numbers
These graphs together have exactly one edge for every unordered pair of elements of so they have a total of exactly edges. Therefore, there exists at least one graph that has strictly fewer than edges, meaning that it has more than disconnected components. Therefore, the collection of numbers for this particular value of has at least distinct remainders modulo This completes the proof.
Solution 2
We consider the Lemma and it's proof as in the above solution.
For every , let be the number of distinct residues that takes on. Further for each residue , let be the number of times it is achieved by an for . Note that
The number of pairs s.t for a given is, The first equality is given by a well known theorem, which can be proven by C-S or Jensen's.
Summing over all , the number of times a pair has is, Alternatively, every pair has a unique s.t by the Lemma so we double-count as, By AM-HM inequality, So it is clear that s.t .
~Aaryabhatta1