Skip to main content
5 of 5
edited tags
GH from MO
  • 105.4k
  • 8
  • 293
  • 398

How many integer solutions of $a^2+b^2=c^2+d^2+n$ are there?

Are there any references to study the integer solutions (existence and how many) of Diophantine equations like $a^2+b^2=c^2+d^2+2$, $a^2+b^2=c^2+d^2+3$, $a^2+b^2=c^2+d^2+5$...? Actually, I can prove that there are integer solutions (a,b,c,d) for any integers n. But I don't know how to count them. Thanks a lot.