question
Let the natural numbers $p$, $q$ and $r$ be greater than $2$. Show that among the numbers $\sqrt{\frac{pq-2}{3}}$, $\sqrt{\frac{qr-2}{3}}$ and $\sqrt{\frac{pr-2}{3}}$ there is at least one irrational one.
idea
We can assume that all numbers are rational. If we show a contradiction to this assumption, then we would solve the problem.
The first thing we can do is to notice that $\frac{pq-2}{3}$, $\frac{qr-2}{3}$ and $\frac{pr-2}{3}$ are perfect squares.
In order for them to be perfect squares $pr-2$, $qr-2$, $pr-2$ are of the perfect square form $*3$.
I don't know what I can do next. I hope you can help me! Thank you in advance
If $\frac{pq-2}3$ is a perfect square, then $3\ |\ (pq-2)$ and it follows
$$ p\equiv1\text{ mod }3\quad\text{or}\quad p\equiv2\text{ mod }3.$$
If $p\equiv1\text{ mod }3$, then we need both $q\equiv2\text{ mod }3$ and $r\equiv2\text{ mod }3$, but then $qr-2$ is not divisible by $3$. Similar contradiction goes for $p\equiv2\text{ mod }3$.