Working independently on some practice problems in preparation for my class exam and got stuck on the following question:
Show there are no solutions in integers $x$, $y$, and $z$ to the diophantine equation $x^2 + 2y^2 = 8z + 5.$
I know that we have to prove it using modular arithmetic but I'm not sure how to go about solving this problem. Could anyone help? Thanks!