Can anyone help me find (with a computer search) nonzero integers $a,b,c,d,e,n$ such that $$a^3-nb^3=c^3-nd^3=e^3$$ where $(a,b,e)$ and $(c,d,e)$ are pairwise coprime and $n^2\ne 1$
One solution set will do. Thanks.
Can anyone help me find (with a computer search) nonzero integers $a,b,c,d,e,n$ such that $$a^3-nb^3=c^3-nd^3=e^3$$ where $(a,b,e)$ and $(c,d,e)$ are pairwise coprime and $n^2\ne 1$
One solution set will do. Thanks.
TL;DR
Computer search gives us these solutions $$\begin{cases}a = -5 \\ b = -2 \\ c = 2 \\ d = -1 \\ e = 3 \\ n = 19\end{cases} \ \begin{cases}a = -5 \\ b = 2 \\ c = 2 \\ d = 1 \\ e = 3 \\ n = -19\end{cases} \ \begin{cases}a = -2 \\ b = -1 \\ c = 5 \\ d = -2 \\ e = -3 \\ n = -19\end{cases} \ \begin{cases}a = -2 \\ b = 1 \\ c = 5 \\ d = 2 \\ e = -3 \\ n = 19\end{cases} $$ after removing those obtained by permuting $(a, b)$ and $(c, d)$.
Method
We first use the
diophantinefunction from SymPy to solve the diophantine equation $A - n B = C - n D$, which gives us the parametric solution $$\begin{cases}A = t_0 \\ B = t_1 \\ C = t_0 + n t_2 \\ D = t_1 + t_2 \\ E = t_0 - n t_1\end{cases}$$ (Actually,diophantinedoesn't support variable coefficient. But we can let $n = 2, 3, 4, \dots$ and guess the correct parametric solution.)Then, we substitute $t_0 = a^3, t_1 = b^3$ and $t_2 = t$ to get the parametric solution $$\begin{cases}a = a \\ b = b \\ c = \sqrt[3]{a^3 + n t} \\ d = \sqrt[3]{b^3 + t} \\ e = \sqrt[3]{a^3 - n b^3} \end{cases}$$
Finally, we use Python 3 to check all integers in $[[-M, M]] = [[-32, 32]]$ for the parameters $a, b, n, t$ and obtain a solution.
Python 3 script for the final step:
Python 3 script for the first step: