Difference between revisions of "2000 OIM Problems/Problem 3"
(Created page with "== Problem == Find all solutions to the equation <cmath>(x + 1)^y - x^z = 1</cmath> for <math>x, y, z</math> integers greater than 1. ~translated into English by Tomas Diaz...") |
(solution) |
||
Line 9: | Line 9: | ||
== Solution == | == Solution == | ||
− | {{solution}} | + | <b>Solution.</b> We split this problem into cases. |
+ | |||
+ | |||
+ | <b>Case 1. <math>y</math> is odd.</b> Notice that if we take mod <math>x+1</math>, we get: | ||
+ | <cmath>1-(-1)^z\equiv1\pmod{x+1}</cmath> | ||
+ | <cmath>\Rightarrow(-1)^z\equiv-1\pmod{x+1}</cmath> | ||
+ | Since <math>x\ge2</math>, this is clearly only possible if <math>z</math> is odd. | ||
+ | |||
+ | |||
+ | <b>Case 1.1. <math>x</math> is odd.</b> Then we can rearrange: | ||
+ | <cmath>(x+1)^y-1^y=x^z</cmath> | ||
+ | Let <math>p</math> be some odd prime such that <math>p|x</math>; there will always exist such a prime because <math>x\ge2</math>. Then, we can lift the exponent: | ||
+ | <cmath>v_{p}(x+1-1)+v_{p_0}(y)=v_{p}(x^z)</cmath> | ||
+ | <cmath>\iff v_{p}(x)+v_{p_0}(y)=zv_{p}(x)</cmath> | ||
+ | <cmath>\iff v_{p}(y)=(z-1)v_{p}(x)</cmath> | ||
+ | where <math>v_{p}(x)</math> is understood to represent the <math>p</math>-adic valuation of <math>x</math>. Clearly this holds for all primes <math>p</math> such that <math>p|x</math>, so we can let <math>y=x^{z-1}m</math> for a positive integer <math>m</math> such that <math>\gcd(x,m)=1</math> from the above. Therefore, substituting: | ||
+ | <cmath>\Rightarrow(x+1)^{x^{z-1}m}-1=x^z</cmath> | ||
+ | <b>Lemma.</b> For all positive integers <math>z\ge3</math>, we have <math>x^{z-1}m>z</math>. | ||
+ | |||
+ | |||
+ | <i>Proof.</i> Clearly, proving the case for <math>m=1</math> will prove the other cases since <math>x^{z-1}m\ge x^{z-1}</math>; thus, we need to prove: | ||
+ | <cmath>x^{z-1}>z</cmath> | ||
+ | We use induction. First, for <math>z=3</math>, we have: | ||
+ | <cmath>x^2>3</cmath> | ||
+ | which is clearly true since <math>x\ge2</math>. Next, for our inductive step, assume that the claim holds for some positive integer <math>n=k</math>; in other words, | ||
+ | <cmath>x^{k-1}>k</cmath> | ||
+ | <cmath>\Rightarrow x^k>xk>2x>x+x>x+1</cmath> | ||
+ | which proves the claim for <math>n=k+1</math>, thus completing the inductive step and proving the statement. <math>\blacksquare</math> | ||
+ | |||
+ | |||
+ | We return to: | ||
+ | <cmath>(x+1)^{x^{z-1}m}-1=x^z</cmath> | ||
+ | which we will prove has no solutions for <math>z\ge3</math>. First, it is clear that | ||
+ | <cmath>(x+1)^{x^{z-1}m}>(x+1)^z</cmath> | ||
+ | from our claim above. Since both are integers, it follows that | ||
+ | <cmath>(x+1)^{x^{z-1}m}\ge(x+1)^z+1</cmath> | ||
+ | It is also clear that | ||
+ | <cmath>(x+1)^z>x^z</cmath> | ||
+ | since <math>x</math> is greater than <math>1</math>. Both are integers, so | ||
+ | <cmath>(x+1)^z\ge x^z+1</cmath> | ||
+ | Combining the statements, we find that | ||
+ | <cmath>(x+1)^{x^{z-1}m}\ge (x+1)^z+1\ge x^z+2</cmath> | ||
+ | <cmath>\Rightarrow (x+1)^{x^{z-1}m}-1\ge x^z+1>x^z</cmath> | ||
+ | <cmath>\Rightarrow (x+1)^{x^{z-1}m}-1>x^z</cmath> | ||
+ | hence there are no solutions for <math>z\ge3</math>. | ||
+ | |||
+ | |||
+ | We know that <math>z</math> must be odd, so <math>z\ne2</math>, and thus there are no solutions in this case. | ||
+ | |||
+ | |||
+ | <b>Case 1.2. <math>x</math> is even.</b> We show that there are no solutions in this case. Assume for the sake of contradiction that there exists a solution <math>x</math> such that <math>x=2^k x_0</math>, where <math>x_0</math> is odd and <math>k</math> is a positive integer. In other words, <math>v_2(x)=k</math>. Then we can substitute: | ||
+ | <cmath>(2^kx_0+1)^y-(2^kx_0)^z=1</cmath> | ||
+ | Let <math>y=2a+1</math> since <math>y</math> is odd. Then, | ||
+ | <cmath>\Rightarrow (2^kx_0+1)^{2a+1}-(2^kx_0)^z=1</cmath> | ||
+ | <cmath>\Rightarrow (2^kx_0+1)\cdot((2^kx_0+1)^2)^a-2^{kz}x_0^z=1</cmath> | ||
+ | <cmath>\Rightarrow (2^kx_0+1)\cdot(2^{2k}x_0^2+2^{k+1}x_0+1)-2^{kz}x_0^z=1</cmath> | ||
+ | Take the equation mod <math>2^{k+1}</math>: | ||
+ | <cmath>\Rightarrow (2^kx_0+1)\cdot(0+0x_0+1)-0x_0^z\equiv1\pmod{2^{k+1}}</cmath> | ||
+ | <cmath>\Rightarrow 2^kx_0+1\equiv1\pmod{2^{k+1}}</cmath> | ||
+ | <cmath>\Rightarrow 2^kx_0\equiv0\pmod{2^{k+1}}</cmath> | ||
+ | implying that <math>x_0</math> is even, a contradiction. Thus there exist no solutions in this case. | ||
+ | |||
+ | |||
+ | <b>Case 2. <math>y</math> is even.</b> Then let <math>y=2b</math>, where <math>b</math> is a positive integer. Rearranging and using difference of squares: | ||
+ | <cmath>((x+1)^b+1)((x+1)^b-1)=x^z</cmath> | ||
+ | |||
+ | |||
+ | <b>Case 2.1. <math>x</math> is odd.</b> Then both <math>(x+1)^b+1</math> and <math>(x+1)^b-1</math> are odd. However, by the Euclidean Algorithm, they must be relatively prime. | ||
+ | |||
+ | |||
+ | Let <math>p|x</math> be a given odd prime (<math>x</math> is odd so <math>p\ne2</math>). Then, we have: | ||
+ | <cmath>(x+1)^b+1\equiv 1^b+1\equiv2\pmod{p}</cmath> | ||
+ | Thus <math>p\nmid (x+1)^b+1</math>. However, this holds for all such <math>p</math>, and since the factors of <math>(x+1)^b+1</math> must also be factors of <math>x^z</math> due to the product, <math>(x+1)^b+1</math> cannot be divisible by any of the factors of <math>x^z</math> and thus any odd prime, so we must have <math>(x+1)^b+1=1</math>. As a result, <math>x=-1</math>, which is invalid, so there are no solutions in this case. | ||
+ | |||
+ | |||
+ | <b>Case 2.2. <math>x</math> is even.</b> Then let <math>x=2^kx_0</math>, where <math>k</math> is a positive integer and <math>x_0</math> is odd; in other words, <math>v_2(x)=k</math>. We substitute: | ||
+ | <cmath>(2^kx_0+1)^y-1^y=2^{kz}x_0^z</cmath> | ||
+ | Next, we lift the exponent with <math>p=2</math>: | ||
+ | <cmath>\Rightarrow v_2(2^kx_0)+v_2(2^kx_0+2)+v_2(y)-1=v_2(2^{kz}x_0^z)=kz</cmath> | ||
+ | <cmath>\Rightarrow k+v_2(2^kx_0+2)+v_2(y)-1=kz</cmath> | ||
+ | First consider <math>k\ge 2</math>. Then <math>v_2(2^kx_0+2)=v_2(2(2^{k-1}x_0+1))=1</math> since <math>2^{k-1}x_0+1</math> is odd, so | ||
+ | <cmath>\Rightarrow k+1+v_2(y)-1=kz</cmath> | ||
+ | <cmath>\Rightarrow v_2(y)=k(z-1)</cmath> | ||
+ | <cmath>\Rightarrow v_2(y)=(z-1)\cdot v_2(x)</cmath> | ||
+ | Similarly, we can lift the exponent for any odd prime <math>p</math> such that <math>p|x</math>: | ||
+ | <cmath>v_p(x)+v_p(y)=v_p(x^z)=z\cdot v_p(x)</cmath> | ||
+ | <cmath>\Rightarrow v_p(y)=(z-1)\cdot v_p(x)</cmath> | ||
+ | From the above, we have <math>v_p(y)=(z-1)\cdot v_p(x)</math> for all primes <math>p</math> such that <math>p|x</math>; thus we can write <math>y=x^{z-1}n</math> for some positive integer <math>n</math> such that <math>\gcd(x,n)=1</math>. Substituting: | ||
+ | <cmath>\Rightarrow(x+1)^{x^{z-1}n}-1=x^z</cmath> | ||
+ | But we showed that this is true for <math>z\ge3</math> in Case 1.1. Additionally, we know that <math>z\ne2</math> once again because if we return to | ||
+ | <cmath>(x+1)^y-x^z=1</cmath> | ||
+ | <cmath>\Rightarrow -(-1)^z\equiv1\pmod{x+1}</cmath> | ||
+ | <cmath>\Rightarrow (-1)^z\equiv-1\pmod{x+1}</cmath> | ||
+ | which is clearly only true if <math>z</math> is odd; thus <math>z\ne2</math> and we are done for <math>k\ge2</math>. | ||
+ | |||
+ | |||
+ | Finally, we consider <math>k=1</math>. Then the equation becomes | ||
+ | <cmath>(2x_0+1)^y-1=2^zx_0^z</cmath> | ||
+ | <cmath>\Rightarrow ((2x_0+1)^b+1)((2x_0+1)^b-1)=2^zx_0^z</cmath> | ||
+ | for odd <math>x_0</math>. Again, let <math>p</math> be some odd prime such that <math>p|x_0</math>. Then, | ||
+ | <cmath>(2x_0+1)^b+1\equiv 1^b+1\equiv2\pmod{p}</cmath> | ||
+ | Thus, since <math>(2x_0+1)^b+1</math> can only be divisible by factors of <math>2^zx_0^z</math> (and thus cannot be divisible by any odd primes), we must have <math>(2x_0+1)^b+1=2^t</math> for some nonnegative integer <math>t</math>. Furthermore, notice that | ||
+ | <cmath>2^t=(2x_0+1)^b+1\ge (2+1)^b+1=3^b+1\ge 4</cmath> | ||
+ | so <math>t\ge2</math>. This implies that <math>(2x_0+1)^b-1=2^t-2</math>, so | ||
+ | <cmath>\Rightarrow 2^t(2^t-2)=2^zx_0^z</cmath> | ||
+ | <cmath>\Rightarrow 2^{t-1}-1=2^{z-t-1}x_0^z</cmath> | ||
+ | The left-hand side is odd, so <math>z-t-1=0</math>. Therefore, <math>t=z-1</math>, implying: | ||
+ | <cmath>\Rightarrow 2^{z-2}-1=x_0^z</cmath> | ||
+ | But clearly, | ||
+ | <cmath>2^{z-2}-1<2^z</cmath> | ||
+ | and since <math>x_0</math> is a positive integer, this forces <math>x_0=1</math>, so | ||
+ | <cmath>\Rightarrow 2^{z-2}-1=1</cmath> | ||
+ | <cmath>\Rightarrow 2^{z-2}=2</cmath> | ||
+ | <cmath>\Rightarrow z=3</cmath> | ||
+ | Additionally, we have <math>x=2^kx_0=2\cdot1=2</math>. Therefore, plugging back in to our original equation: | ||
+ | <cmath>(2+1)^y-2^3=1</cmath> | ||
+ | <cmath>\Rightarrow 3^y=9</cmath> | ||
+ | <cmath>\Rightarrow y=2</cmath> | ||
+ | Thus, our only solution is <math>(x,y,z)=\boxed{(2,2,3)}</math>, which clearly works upon substitution. <math>\blacksquare</math> | ||
+ | |||
+ | |||
+ | <i>Remark.</i> The solution follows trivially from Catalan's conjecture, which was proven in 2002. However, the competition was held before the proof of the conjecture, so we assume that we are unable to use the conjecture. | ||
+ | |||
+ | ~ [https://artofproblemsolving.com/wiki/index.php/User:Eevee9406 eevee9406] | ||
== See also == | == See also == | ||
https://www.oma.org.ar/enunciados/ibe15.htm | https://www.oma.org.ar/enunciados/ibe15.htm |
Latest revision as of 18:49, 29 April 2025
Problem
Find all solutions to the equation
for integers greater than 1.
~translated into English by Tomas Diaz. ~orders@tomasdiaz.com
Solution
Solution. We split this problem into cases.
Case 1. is odd. Notice that if we take mod
, we get:
Since
, this is clearly only possible if
is odd.
Case 1.1. is odd. Then we can rearrange:
Let
be some odd prime such that
; there will always exist such a prime because
. Then, we can lift the exponent:
where
is understood to represent the
-adic valuation of
. Clearly this holds for all primes
such that
, so we can let
for a positive integer
such that
from the above. Therefore, substituting:
Lemma. For all positive integers
, we have
.
Proof. Clearly, proving the case for will prove the other cases since
; thus, we need to prove:
We use induction. First, for
, we have:
which is clearly true since
. Next, for our inductive step, assume that the claim holds for some positive integer
; in other words,
which proves the claim for
, thus completing the inductive step and proving the statement.
We return to:
which we will prove has no solutions for
. First, it is clear that
from our claim above. Since both are integers, it follows that
It is also clear that
since
is greater than
. Both are integers, so
Combining the statements, we find that
hence there are no solutions for
.
We know that must be odd, so
, and thus there are no solutions in this case.
Case 1.2. is even. We show that there are no solutions in this case. Assume for the sake of contradiction that there exists a solution
such that
, where
is odd and
is a positive integer. In other words,
. Then we can substitute:
Let
since
is odd. Then,
Take the equation mod
:
implying that
is even, a contradiction. Thus there exist no solutions in this case.
Case 2. is even. Then let
, where
is a positive integer. Rearranging and using difference of squares:
Case 2.1. is odd. Then both
and
are odd. However, by the Euclidean Algorithm, they must be relatively prime.
Let be a given odd prime (
is odd so
). Then, we have:
Thus
. However, this holds for all such
, and since the factors of
must also be factors of
due to the product,
cannot be divisible by any of the factors of
and thus any odd prime, so we must have
. As a result,
, which is invalid, so there are no solutions in this case.
Case 2.2. is even. Then let
, where
is a positive integer and
is odd; in other words,
. We substitute:
Next, we lift the exponent with
:
First consider
. Then
since
is odd, so
Similarly, we can lift the exponent for any odd prime
such that
:
From the above, we have
for all primes
such that
; thus we can write
for some positive integer
such that
. Substituting:
But we showed that this is true for
in Case 1.1. Additionally, we know that
once again because if we return to
which is clearly only true if
is odd; thus
and we are done for
.
Finally, we consider . Then the equation becomes
for odd
. Again, let
be some odd prime such that
. Then,
Thus, since
can only be divisible by factors of
(and thus cannot be divisible by any odd primes), we must have
for some nonnegative integer
. Furthermore, notice that
so
. This implies that
, so
The left-hand side is odd, so
. Therefore,
, implying:
But clearly,
and since
is a positive integer, this forces
, so
Additionally, we have
. Therefore, plugging back in to our original equation:
Thus, our only solution is
, which clearly works upon substitution.
Remark. The solution follows trivially from Catalan's conjecture, which was proven in 2002. However, the competition was held before the proof of the conjecture, so we assume that we are unable to use the conjecture.