I teach chemistry and in my free time I like to study number theory. I came across the following exercise.
Let $a, b$ and $c$ be non-zero integers. Consider the equation $ax^2+by^2+cz^2 = 0$.
Suppose that $p$ is an odd prime and that $p\,|\,a$, $\;p^2 \nmid a$ and $p \nmid bc$. Show that the equation above has a non-trivial solution in the $p$-adic rationals $\mathbb{Q}_p$ if and only if $-bc$ is a square modulo $p$.
I have studied basic results of $p$-adic rationals and related theorems. Unfortunately, I can not find a suitable way to initiate this problem. Any hints on what kind of conceptual constructs I can employ to initiate this problem, would be greatly appreciated.