Heading the quadratic direction I have got to here..

checking this back gives

so which agrees with

For and to be integers we need to be a perfect square.

let

so that

let and so

.....(1)

............(2)

substituting these give

but multiplying these gives

whereas earlier we had

Have I made a mistake or do I need to find an and where

Thanks