Difference between revisions of "2008 USAMO Problems/Problem 1"

(Solutions: other official solutions)
m (Solution 6)
 
(2 intermediate revisions by 2 users not shown)
Line 77: Line 77:
  
 
'''Lemma 1.''' The set
 
'''Lemma 1.''' The set
<cmath>Q = \{p\mid p\text{ a prime for which there is an integer }x\m\text{ such that }p\text{ divides }P(x)\}</cmath>
+
<cmath>Q = \{p\mid p\text{ a prime for which there is an integer }x\text{ such that }p\text{ divides }P(x)\}</cmath>
 
is infinite.
 
is infinite.
  
Line 90: Line 90:
 
'''End Lemma'''
 
'''End Lemma'''
  
 +
== Solution 6 ==
 +
Very similar to some above solutions.
  
 +
Let <math>k_{0}k_{1}\dots k_{n}-1=a(a+1)</math>. We wish to show this equation has a solution <math>(a,k_{0},\dots,k_{n})\in\mathbb{Z}^{n+2}</math> for any <math>n\in\mathbb{N}</math>. If <math>a^{2}+a+1</math> has at least <math>n+1</math> distinct prime factors, we can set <math>a^{2}+a+1=p_{1}^{q_{1}}p_{2}^{q_{2}}\dots p_{m}^{q_{m}}</math> for some <math>m\geq n</math> where <math>p_{1},\dots p_{m}</math> are distinct primes. Then, we let <math>k_{i}=p_{i+1}^{q_{i+1}}</math> for all <math>0\leq i\leq n-1</math> and set <math>k_{n}=p_{n+1}^{q_{n+1}}\dots p_{m}^{q_{m}}</math>. Thus, it remains to show <math>a^{2}+a+1</math> can have at least <math>n+1</math> distinct prime factors. We will do this by showing it can have arbitrarily many.
 +
 +
Using an induction-type argument (it isn't exactly induction though), we first show that <math>a^{2}+a+1</math> can have <math>1</math> prime factor by setting <math>a=2</math>. Now, assume <math>a^{2}+a+1</math> has <math>n</math> distinct prime factors. We wish to show there exists some <math>b</math> such that <math>b^{2}+b+1</math> has more than <math>n</math> distinct prime factors (we need not show it has <math>n+1</math>, since we only wish to demonstrate that the number of prime factors can be arbitrarily large rather than any integer). Set <math>b=a^{2}</math>. Then
 +
<cmath>\begin{align*}
 +
b^{2}+b+1&=(b+1)^{2}-b\\
 +
&=(a^{2}+1)^{2}-a^{2}\\
 +
&=(a^{2}+a+1)(a^{2}-a+1).
 +
\end{align*}</cmath>
 +
Suppose <math>p</math> is a positive integer dividing both <math>a^{2}+a+1</math> and <math>a^{2}-a+1</math>. Then <math>p\mid(a^{2}+a+1)-(a^{2}-a+1)=2a</math>, and because <math>(a^{2}+a+1)</math> is always odd, we have <math>2\nmid p</math> so <math>p\mid a</math>. But this yields <math>p\mid\gcd(a,a^{2}+a+1)=1</math>, so <math>p=1</math> and thus <math>a^{2}+a+1</math> and <math>a^{2}-a+1</math> are coprime. Therefore, as one can make <math>a^{2}-a+1>1</math>, we see that <math>a^{2}-a+1</math> has at least one prime factor which does not divide <math>a^{2}+a+1</math> (which has <math>n</math> distinct prime factors). Therefore, <math>b^{2}+b+1</math> has more than <math>n</math> distinct prime factors.
  
 
{{alternate solutions}}
 
{{alternate solutions}}

Latest revision as of 02:38, 17 August 2019

Problem

(Titu Andreescu) Prove that for each positive integer $n$, there are pairwise relatively prime integers $k_0, k_1 \dotsc, k_n$, all strictly greater than 1, such that $k_0 k_1 \dotsm k_n -1$ is the product of two consecutive integers.

Solutions

Solution 1

We will prove the problem for each nonnegative integer $n$. We wish to show that \[k_0 k_1 \dotsc k_n = a^2+a+1,\] for some integer $a$. We induct on $n$. For our base case, $n=0$, we may let $a$ be positive integer.

For the inductive step, suppose that $k_0, \dotsc, k_{n-1}$ are pairwise relatively prime integers such that \[k_0 \dotsm k_{n-1} = a^2+a+1,\] for some integer $a$. Let $k_n = a^2 + 3a+3$. Evidently, $k_n >1$. Also, \[\gcd(a^2+a+1, k_n) = \gcd\bigl(a^2+a+1, k_n - (a^2+a+1) \bigr) = \gcd\bigl(a^2 + a+1, 2(a+1) \bigr) .\] Since $a^2+a+1 = a(a+1)+1$ is odd and relatively prime to $a+1$, it follows that $a^2+a+1$ and $k_n$ are relatively prime, so $k_n$ is relatively prime to each of $k_0, \dotsc, k_{n-1}$. Finally, \begin{align*} k_0 k_1 \dotsm k_n &= (a^2+a+1)(a^2+3a+3)\\ &= \bigl[ (a+1)^2-a \bigr] \cdot \bigl[ (a+1)^2 + a+2 \bigr] \\ &= (a+1)^4 + 2(a+1)^2 - a^2-2a \\ &= (a+1)^4 + (a+1)^2 + 1 . \end{align*} This completes the induction.

Solution 2

Lemma. If $p$ is prime such that $p\equiv 1 \pmod{3}$, there exists a residue $r$ such that $p \mid r^2+r+1$.

Proof. Let $g$ be a multiplicative generator of the nonzero integers mod p. Set $r \equiv g^{(p-1)/3}$. Then $r-1 \not\equiv 0 \pmod{p}$, but $r^3-1 \equiv 0 \pmod{p}$, so $\frac{r^3-1}{r-1} \equiv r^2 + r+1 \equiv 0 \pmod{p}$.

End Lemma

By Dirichlet's Theorem, there are infinitely many primes congruent to 1 (mod 3). Let $p_0, \dotsc, p_n$ be $(n+1)$ such primes, and let $r_0, \dotsc, r_n$ be respective residues as described in the lemma. By the Chinese Remainder Theorem, there is a positive integer $a$ that satisfies the relation \[a \equiv r_i \pmod{p_i}\] for each integer $i \in [0,n]$. Then \[p_0 \dotsc p_n \mid a^2+a+1 .\] Now, for $1 \le i \le n$, take $k_i$ to be the greatest power of $p_i$ that divides $a^2 + a +1$, and let $k_0 = (a^2+a+1)/(k_1 \dotsm k_n)$. Since all the $k_i$ are pairwise relatively prime and are greater than 1, we are done.

Solution 3

Firstly, we see that there are $n + 1$ numbers $k_i$. Since $n\geq1$, there are at least 2 values of $k_i$. Define a relatively prime partition to be a set of relatively prime numbers such that their product is equal to some natural number.

Define $P$ to be the greatest possible cardinality of a relatively prime partition for that number.

Lemma 1. All cardinalities of the relatively prime partitions of a number up to $P$ can be attained.

Proof. $P = P - 0$ satisfies the properties. For any $P - n$ which satisfies the properties, we can take any of the 2 $P - n$ numbers and multiply them together. Because they are both relatively prime to all the other numbers, their product is relatively prime to all the other numbers as well, and that results in $P - n - 1$ numbers which satisfy the conditions, unless $P - n = 1$, because there is only one number left. Therefore, all numbers of numbers of relatively prime factors from $1$ to $P - 1$ are attainable, if $P$ is attainable as well.

End Lemma

Lemma 2. $a^2 + a + 1$ can have arbitrarily many prime factors for some value of $a$.

Proof. Let $f(x) = x^2 + x + 1$. Let $a^2 + a + 1 = k$. Then $f(a + k) = a^2 + 2ak + k^2 + a + k + 1 = 2ak + k^2 + 2k$. After factoring, we get $k(k + 2 + 2a) = (a^2 + a + 1)(a^2 + 3a + 3)$. $a^2 + 3a + 3 \geq a^2 + a + 1$, because $a$ is strictly positive. Let their GCD=g. $g|2a + 2$ $g|2a^2 + 2a$ $g|a^2 - 3a - 3 + a^2 + 3a + 3, g|2a^2$ $g|2a$, and so $g|2$, but $g|a^2 + a + 3$ which is strictly odd, so g=1. $(a^2 + a + 1)(a^2 + 3a + 3)$ therefore must contain prime factors not in $a^2 + a + 1$. Upon repeating this an arbitrary number of times, we get a number of the form $a^2 + a + 1$ which has arbitrarily many distinct prime factors.

End Lemma

Then $a(a + 1) + 1 = a^2 + a + 1$ would not have $n + 1 = P$ elements in the relatively prime partition for some value of n, and any value of a. It is possible to choose a value of $a$ such that $a^2 + a + 1$ has arbitrarily many unique prime factors, by our second Lemma, and so it is possible for $P$ to be arbitrarily high. By our first Lemma, all numbers up to P are possible values for the cardinality of some relatively prime partition, and so there always exists some number that has an arbitrary number of elements in a relatively prime partition. Because $a^2 + a + 1 = a(a + 1) + 1$, $a(a + 1)$ is the product of 2 consecutive integers, we see that the given statement is true because if $k_0k_1...k_n = a(a + 1) + 1$, then $k_0k_1...k_n - 1 = a(a + 1)$.

Solution 4

Write the relation to be proved as \[4k_0k_1\cdots k_n = 4a(a + 1) + 4 = (2a + 1)^2 + 3.\] There are infinitely many primes for which $-3$ is a quadratic residue. Let $2 < p_0 < p_1 < \cdots < p_n$ be such primes. Using the Chinese Remainder Theorem to specify $a$ modulo $p_n$, we can find an integer $a$ such that $(2a + 1)^2 + 3 = 4p_0p_1\cdots p_nm$ for some positive integer $m$. Grouping the factors of $m$ appropriately with the $p_i$'s, we obtain $(2a + 1)^2 + 3 = 4k_0k_1\cdots k_n$ with $k_i$ pairwise relatively prime. We then have $k_0k_1\cdots k_n - 1 = a(a + 1)$, as desired.

Solution 5

We are supposed to show that for every positive integer $n$, there is a positive integer $x$ such that $x(x + 1) + 1 = x^2 + x + 1$ has at least $n$ distinct prime divisors. We can actually prove a more general statement.

Claim. Let $P(x) = a_dx^d + \cdots + a_1x + 1$ be a polynomial of degree $d\geq 1$ with integer coefficients. Then for every positive integer $n$, there is a positive integer $x$ such that $P(x)$ has at least $n$ distinct prime divisors.

The proof follows from the following two lemmas.

Lemma 1. The set \[Q = \{p\mid p\text{ a prime for which there is an integer }x\text{ such that }p\text{ divides }P(x)\}\] is infinite.

Proof. The proof is analogous to Euclid's proof that there are infinitely many primes. Namely, if we assume that there are only finitely many primes $p_1, p_2, \ldots, p_k$ in $Q$, then for each integer $m$, $P(mp_1p_2\cdots p_k)$ is an integer with no prime factors, which must equal $1$ or $-1$. However, since $P$ has degree $d\geq 1$, it takes each of the values $1$ and $-1$ at most $d$ times, a contradiction.

End Lemma

Lemma 2. Let $p_1, p_2, \ldots, p_n$, $n\geq 1$ be primes in $Q$. Then there is a positive integer $x$ such that $P(x)$ is divisible by $p_1p_2\cdots p_n$.

Proof. For $i = 1, 2, \ldots, n$, since $p_i\in Q$ we can find an integer $c_i$ such that $P(x)$ is divisible by $p_i$ whenever $x\equiv c_i\pmod{p_i}$. By the Chinese Remainder Theorem, the system of $n$ congruences $x\equiv c_i\pmod{p_i}$, $i = 1, 2, \ldots, n$ has positive integer solutions. For every positive integer $x$ that solves this system, $P(x)$ is divisible by $p_1p_2\cdots p_n$.

End Lemma

Solution 6

Very similar to some above solutions.

Let $k_{0}k_{1}\dots k_{n}-1=a(a+1)$. We wish to show this equation has a solution $(a,k_{0},\dots,k_{n})\in\mathbb{Z}^{n+2}$ for any $n\in\mathbb{N}$. If $a^{2}+a+1$ has at least $n+1$ distinct prime factors, we can set $a^{2}+a+1=p_{1}^{q_{1}}p_{2}^{q_{2}}\dots p_{m}^{q_{m}}$ for some $m\geq n$ where $p_{1},\dots p_{m}$ are distinct primes. Then, we let $k_{i}=p_{i+1}^{q_{i+1}}$ for all $0\leq i\leq n-1$ and set $k_{n}=p_{n+1}^{q_{n+1}}\dots p_{m}^{q_{m}}$. Thus, it remains to show $a^{2}+a+1$ can have at least $n+1$ distinct prime factors. We will do this by showing it can have arbitrarily many.

Using an induction-type argument (it isn't exactly induction though), we first show that $a^{2}+a+1$ can have $1$ prime factor by setting $a=2$. Now, assume $a^{2}+a+1$ has $n$ distinct prime factors. We wish to show there exists some $b$ such that $b^{2}+b+1$ has more than $n$ distinct prime factors (we need not show it has $n+1$, since we only wish to demonstrate that the number of prime factors can be arbitrarily large rather than any integer). Set $b=a^{2}$. Then \begin{align*} b^{2}+b+1&=(b+1)^{2}-b\\ &=(a^{2}+1)^{2}-a^{2}\\ &=(a^{2}+a+1)(a^{2}-a+1). \end{align*} Suppose $p$ is a positive integer dividing both $a^{2}+a+1$ and $a^{2}-a+1$. Then $p\mid(a^{2}+a+1)-(a^{2}-a+1)=2a$, and because $(a^{2}+a+1)$ is always odd, we have $2\nmid p$ so $p\mid a$. But this yields $p\mid\gcd(a,a^{2}+a+1)=1$, so $p=1$ and thus $a^{2}+a+1$ and $a^{2}-a+1$ are coprime. Therefore, as one can make $a^{2}-a+1>1$, we see that $a^{2}-a+1$ has at least one prime factor which does not divide $a^{2}+a+1$ (which has $n$ distinct prime factors). Therefore, $b^{2}+b+1$ has more than $n$ distinct prime factors.

Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.

See also

  • <url>viewtopic.php?t=202909 Discussion on AoPS/MathLinks</url>
2008 USAMO (ProblemsResources)
Preceded by
First Question
Followed by
Problem 2
1 2 3 4 5 6
All USAMO Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png