I want to prove that the congruence $x^2 - 16x + 2\equiv 0\pmod{37}$ has only two solutions: $x\equiv 3$ and $x\equiv 13$. I am assuming this is true because the modulus is prime. Is it true that there are at most $2$ solutions because this is a degree $2$ polynomial?
I see that we can rewrite the congruence as $x^2 - 16x + 39\equiv 0\pmod{37}$ and then factor the LHS into $(x - 13)(x - 3)$.
This is a homework problem so I would most appreciate some suggestion to a proof or some general comments about solving polynomial congruences.