Find all pairs $(p, q)$ of prime numbers satisfying \[ p^3+7q=q^9+5p^2+18p. \]
Problem
Source: Turkey JBMO TST 2016 P7
Tags: number theory, prime numbers
23.05.2016 02:06
There isn't any solution ! We can take $\pmod 3$, which gives us $p\equiv 2\pmod 3$ after trying $p=3k+2,k\in \mathbb{R^{+}}$ , we found $7>q^8$ which is contradiction! Am ı wrong ?
23.05.2016 02:11
$p=29, q=3$ is a solution.
23.05.2016 02:19
Here is some partial progress? We have $p(p^2-5p-18)=q(q^8-7).$
^This may seem kind of all over the place oops. The goal is to prove no remaining solns $p,q>3.$
23.05.2016 04:10
this one is just an exercise in bounding...
21.07.2016 18:07
Quote: Take mod 9 and using $q^9 \equiv q \mod 9$ by Fermat I think that you made mistake while using Fermat here,because we use Fermat with primes,and I'm absolutely sure that 9 is not a prime number.
26.10.2016 23:04
If I'm not wrong, I think the statement is true given the fact that gcd(q,9)=1 since q is a prime other than 3
27.10.2016 03:16
19.04.2024 23:44
Answer: $(p,q)=(29,3)$ Proof: \[n=p^3-5p^2-18p=q^9-7q\]When $q=2$, we have $p^3-5p^2-18p=498\implies p|498\implies p\in\{2,3,83\}$ which gives no solution. When $q=3$, we have $p^3-5p^2-18p=19662\implies p\in\{2,3,29,113\} \implies p=29\implies \boxed{(29,3)}$ When $q\geq 5,$ we have $p\geq 31$ thus \[(p-2)^3<n<(p-1)^3\iff p^2-30p+8>0,\ 2p^2+21p-1>0\]\[(q^3-1)^3<n<(q^3)^3\iff 3q^6-3q^3-7q+1>0,\ 7q>0\]Hence $q^3=p-1$ which gives a contradiction because of $(mod \ 2)$.