For three integers $p, q, r$ such that $\gcd(p, q)$ $=$ $1$, $\gcd(r, q)$ $=$ $1$, let $d = pr$.
$(p+q)(q+d) - pq = x$
$(q+d)q - p(p+q) = y$
Prove that
$rx-q-d$ = $y$
Thanks if someone can at least simplify the proof to three terms instead of six.
For three integers $p, q, r$ such that $\gcd(p, q)$ $=$ $1$, $\gcd(r, q)$ $=$ $1$, let $d = pr$.
$(p+q)(q+d) - pq = x$
$(q+d)q - p(p+q) = y$
Prove that
$rx-q-d$ = $y$
Thanks if someone can at least simplify the proof to three terms instead of six.
The proposition does not hold true. Counterexample: $p=2, q=3, r=5$ so that $d=2 \cdot 5 = 10\,$:
$$ \begin{align} x & = 5 \cdot 13 - 2 \cdot 3 = 59 \\ y & = 13 \cdot 3 - 2 \cdot 5 = 29 \\ rx - q - d & = 5\cdot59-3-10=282 \;\;\ne\;\; 29 = y \end{align} $$