Are there any references to study the integers solution (existence and how many) of Diophantine equations like a^2+b^2=c^2+d^2+2? Thanks a lot.