lewtun's picture
lewtun HF Staff
Publish IMO-ProofBench Harbor tasks
77a0a50 verified
Raw History Blame Contribute Delete
9.77 kB
{
"problem": "Let $p$ be a prime number and $a, b$ be positive integers such that\n\n \\[\n p^{n}=a^{4}+b^{4}\n \\]\n\n for some integer $n \\geq 2$. Prove that $n \\geq 5$.",
"solution": "First, let's summarize the facts that are frequently used in Diophantine equations. We will omit the proofs of well-known facts. The following lemma characterizes Pythagorean triples and is used repeatedly.\n\n <Lemma 1> If $a, b, c$ are positive integers with $ab \\neq 0$ satisfying $a^{2}+b^{2}=c^{2}$, then there exist positive integers $m \\neq n$ and $k$ such that\n\n \\[\n (a, b, c)=k\\left(2 m n, m^{2}-n^{2}, m^{2}+n^{2}\\right) \\text { or } k\\left(m^{2}-n^{2}, 2 m n, m^{2}+n^{2}\\right).\n \\]\n\n In particular, if $a, b$ are relatively prime, then $k=1$ and $m$ and $n$ have different parity, and one of $a, b$ is odd and the other is even. The odd one is expressed as $m^{2}-n^{2}$ and the even one is expressed as $2mn$. Also, in this case, $c$ is always odd.\n <Proof of Lemma 1> Omitted. \\qed\n <Lemma 2> If $p$ is a prime number or 1, and positive integers $x$ and relatively prime positive integers $a, b$ satisfy\n\n \\[\n p a b=x^{2},\n \\]\n\n then there exist positive integers $u, v$ such that $(a, b, x)=\\left(p u^{2}, v^{2}, p u v\\right)$ or $\\left(u^{2}, p v^{2}, p u v\\right)$.\n <Proof of Lemma 2> Omitted. \\qed\n\n <Lemma 3> If $a^{2}+b^{2}$ is a multiple of 4 for integers $a, b$, then both $a$ and $b$ are even.\n\n <Proof of Lemma 3> $a$ and $b$ must have the same parity, but the square of an odd number has a remainder of 1 when divided by 4, so if $a, b$ have the same parity as odd numbers, then $a^{2}+b^{2}$ has a remainder of 2 when divided by 4, so it cannot be a multiple of 4. \\qed\n\n Now, let's proceed with the proof of the main problem using these facts.\n <Step 1> There are no positive integers $x, y, z$ satisfying $x^{4}+y^{4}=z^{2}$. Therefore, $n$ is odd.\n\n <Step 1.1> Using proof by contradiction, assume that there exists a positive integer solution $x, y, z$. Among these solutions, choose the solution $(x, y, z)$ with the smallest $z$. If there is a prime number $q$ that divides two of $x, y, z$, then it must also divide the remaining number, and in this case, $\\left(\\frac{x}{q}, \\frac{y}{q}, \\frac{z}{q^{2}}\\right)$ becomes a solution, contradicting the minimality of $z$. Therefore, this solution is pairwise relatively prime.\n\n <Step 1.2> Since $\\left(x^{2}, y^{2}, z\\right)$ is a Pythagorean triple, by <Lemma 1>, there exist relatively prime positive integers $u, v$ with different parity such that\n\n\n \\begin{equation*}\n x^{2}=u^{2}-v^{2}, y^{2}=2 u v, z=u^{2}+v^{2} \\tag{1.1}\n \\end{equation*}\n\n\n We can assume that $u > v$ without loss of generality. Since $y^{2}=2 u v$ and $u, v$ are relatively prime, by <Lemma 2>, there exist positive integers $s, t$ such that $u=2 s^{2}, v=t^{2}$ or $u=s^{2}, v=2 t^{2}$.\n\n (Case 1) $u=2 s^{2}, v=t^{2}$\n\n $x^{2}+t^{4}=4 s^{4}$. By <Lemma 3>, both $x$ and $t$ must be even, but from $x^{2}=u^{2}-v^{2}$, $x$ is odd, which is a contradiction.\n\n (Case 2) $u=s^{2}, v=2 t^{2}$\n\n $x^{2}+4 t^{4}=s^{4}$ and since $t|v, v| y^{2}$,\n\n \\[\n \\operatorname{gcd}(x, t)|\\operatorname{gcd}(x, v)| \\operatorname{gcd}\\left(x, y^{2}\\right)=1.\n \\]\n\n Therefore, $x$ and $t^{2}$ are also relatively prime, and by <Lemma 1>, there exist relatively prime positive integers $q, r$ with different parity (since $x$ is odd by (1.1)) such that\n\n \\[\n x=q^{2}-r^{2}, 2 t^{2}=2 q r, s^{2}=q^{2}+r^{2}.\n \\]\n\n Since $t^{2}=q r$, by <Lemma 2>, there exist positive integers $x', y'$ such that $q=x^{\\prime 2}, r=y^{\\prime 2}$, and thus by the above equation, $x^{\\prime 4}+y^{\\prime 4}=s^{2}$. Since\n\n \\[\n s=\\sqrt{u} \\leq u<u^{2}+v^{2}=z,\n \\]\n\n this contradicts the minimality of $(x, y, z)$. Therefore, the proof is complete.\n\n <Step 2> If $p^{3}=a^{4}+b^{4}$, then there exist positive integers $x, y, z$ such that $x^{2}+3 y^{4}=z^{4}$.\n\n <Step 2.1> If $p \\mid a$, then clearly $p \\mid b$ must also hold, and vice versa. Therefore, $a, b$ are either both multiples of $p$ or not. However, if the former is the case, the right-hand side becomes a multiple of $p^{4}$, which is a contradiction, so $p$ is relatively prime to both $a$ and $b$.\n\n <Step 2.2> Therefore, $p$ is a divisor of the sum of squares, and since $(p, a)=(p, b)=1$, $p$ is a prime number of the form $4 k+1$, so it can be expressed in the form $p=c^{2}+d^{2}$. By Jacobi's theorem, there are only two ways (considering order) to express $p^{3}$ as the sum of perfect squares:\n\n \\[\n (p c)^{2}+(p d)^{2} \\text { and } \\left(c\\left(c^{2}-3 d^{2}\\right)\\right)^{2}+\\left(d\\left(3 c^{2}-d^{2}\\right)\\right)^{2}.\n \\]\n\n By (1), the first case cannot be expressed as $a^{4}+b^{4}$, so\n\n \\[\n a^{2}=\\left|c\\left(c^{2}-3 d^{2}\\right)\\right|, \\quad b^{2}=\\left|d\\left(3 c^{2}-d^{2}\\right)\\right|\n \\]\n\n (or vice versa, but we can ignore this case due to symmetry) must hold. Letting $C=|c|, D=|d|$, we have\n\n\n \\begin{equation*}\n a^{2} b^{2}=C D \\times\\left|C^{2}-3 D^{2}\\right| \\times\\left|3 C^{2}-D^{2}\\right| \\tag{1.2}\n \\end{equation*}\n\n\n and $\\operatorname{gcd}(C, D)=1$. Now, we divide into cases depending on whether $C D$ is a multiple of 3.\n\n (Case 1) If $3 \\mid C D$\n\n Without loss of generality, assume $3 \\mid C$. Then, from\n\n \\[\n \\left(\\frac{a b}{3}\\right)^{2}=\\frac{C}{3} \\cdot D \\cdot\\left|3\\left(\\frac{C}{3}\\right)^{2}-D^{2}\\right| \\cdot\\left|3 C^{2}-D^{2}\\right|,\n \\]\n\n since the four terms are pairwise relatively prime, there exist positive integers $e, f, g, h$ such that\n\n \\[\n C=3 e^{2}, \\quad D=f^{2},\\left|3 e^{4}-f^{4}\\right|=g^{2},\\left|27 e^{4}-f^{4}\\right|=h^{2}.\n \\]\n\n Then, by $\\bmod 3$, we have $g^{2}+3 e^{4}=f^{4}$.\n\n (Case 2) If $3 \\nmid CD$\n\n From (1.2), since the four terms are pairwise relatively prime, there exist positive integers $e, f, g, h$ such that\n\n \\[\n C=e^{2}, \\quad D=f^{2},\\left|e^{4}-3 f^{4}\\right|=g^{2},\\left|3 e^{4}-f^{4}\\right|=h^{2}.\n \\]\n\n Similarly, by $\\bmod 3$, we have $e^{4}-3 f^{4}=g^{2}$.\n\n Therefore, in both cases, there exists a positive integer solution to $x^{2}+3 y^{4}=z^{4}$.\n\n <Step 3> There are no positive integers $x, y, z$ satisfying $x^{2}+3 y^{4}=z^{4}$.\n\n Using proof by contradiction, assume that there exists a positive integer solution $x, y, z$. Among these solutions, choose the solution $(x, y, z)$ with the smallest $z$. If there is a prime number $q$ that divides two of $x, y, z$, then it must also divide the remaining number, and in this case, $\\left(\\frac{x}{q^{2}}, \\frac{y}{q}, \\frac{z}{q}\\right)$ becomes a solution, contradicting the minimality of $z$. Therefore, this solution is pairwise relatively prime.\n\n Now, rewriting the equation as\n\n\n \\begin{equation*}\n 3 y^{4}=\\left(z^{2}-x\\right)\\left(z^{2}+x\\right) \\tag{1.3}\n \\end{equation*}\n\n\n we can divide into two cases since $\\operatorname{gcd}\\left(z^{2}-x, z^{2}+x\\right)=1$ or 2.\n\n (Case 1) If $x$ and $z$ have the same parity\n\n By <Lemma 2>, there exist relatively prime positive integers $u, v$ such that\n\n \\[\n z^{2}-x=2 u^{2}, z^{2}+x=6 v^{2}, y^{2}=2 u v \\quad \\text { or } \\quad z^{2}+x=2 u^{2}, z^{2}-x=6 v^{2}, y^{2}=2 u v.\n \\]\n\n In both cases, we have\n\n\n \\begin{equation*}\n z^{2}=u^{2}+3 v^{2}, y^{2}=2 u v. \\tag{1.4}\n \\end{equation*}\n\n\n Since $y$ is even, one of $u, v$ must be even.\n\n <Step 3.1> If $u$ is even, then $v$ is odd, and then $z^{2}=u^{2}+3 v^{2} \\equiv 3(\\bmod 4)$, which is a contradiction.\n\n <Step 3.2> If $v$ is even, then by <Lemma 2>, there exist positive integers $s, t$ such that\n\n \\[\n u=s^{2}, v=2 t^{2},\n \\]\n\n and substituting this back into (1.4) gives $s^{4}+12 t^{4}=z^{2}$. Since both $s$ and $z$ are odd, this equation can be written as\n\n \\[\n \\frac{z+s^{2}}{2} \\cdot \\frac{z-s^{2}}{2}=3 t^{4},\n \\]\n\n and since $\\operatorname{gcd}\\left(\\frac{z+s^{2}}{2}, \\frac{z-s^{2}}{2}\\right)=1$, by <Lemma 2>, there exist relatively prime positive integers $q, r$ such that\n\n \\[\n \\frac{z+s^{2}}{2}=q^{4}, \\frac{z-s^{2}}{2}=3 r^{4} \\quad \\text { or } \\quad \\frac{z+s^{2}}{2}=3 r^{4}, \\frac{z-s^{2}}{2}=q^{4}.\n \\]\n\n In the second case, we have $s^{2}=3 r^{4}-q^{4}$, but since $q$ and $s$ cannot both be multiples of 3 (in this case, $r$ would also be a multiple of 3, leading to a contradiction), $s^{2}+q^{4}$ cannot be a multiple of 3, which is a contradiction. In the remaining case, we have $s^{2}=q^{4}-3 r^{4}$, but since $q \\leq q^{4} = \\frac{z+s^2}{2} < z$, this contradicts the minimality of $z$.\n\n (Case 2) If $x$ and $z$ have different parity\n\n In this case, by (1.3) and <Lemma 2>, there exist relatively prime positive integers $u, v$ such that\n\n \\[\n z^{2}+x=u^{4}, z^{2}-x=3 v^{4}, y^{2}=u v \\quad \\text { or } \\quad z^{2}-x=3 v^{4}, z^{2}+x=u^{4}, y^{2}=u v.\n \\]\n\n In both cases, we have $2 z^{2}=u^{4}+3 v^{4}$, but since $z$ and $u$ cannot both be multiples of 3, this leads to a contradiction modulo 3.\n\n Therefore, by <Step 1>, $n \\neq 2,4$, and by <Step 2>, $n \\neq 3$, so the proof is complete.",
"grading_guidelines": "(Partial)\n 1. Observed and verified that $x^2=y^4+z^4$ has no nontrivial solution\n 2. Transformed the equation $p^3=a^4+b^4$ into $p=c^2+d^2, a^2=c(c^2-3d^2), b^2=d(3c^2-d^2)$\n(Almost)\n 1. Transformed the given equation to $x^2+3y^4=z^4$ or its equivalent form, but failed to prove that it has no nontrivial solution",
"problem_id": "PB-Advanced-012",
"level": "advanced",
"category": "Number theory",
"source": "Novel Problem",
"max_score": 7,
"difficulty": "IMO-hard",
"short_answer": " "
}