Hello,

the task is to solve (find all integer solutions) following quadratic Diophantine equation:

I think I need to use modular arithmetic for obtaining solutions. Maybe I should start investigating squares of integers ,

Also I peeled answer from WolframAlpha, but that doesn't give me any hint how to get it myself. WolframAlpha gave the following solutions:

So, any help is appreciated. Thanks!