3

Is there any $n$ such that the equation $n = x^2 + y^2$ ($n, x, y$ belonging to the set of natural numbers) has more of three solutions?

Eli MC
  • 49

1 Answers1

1

All natural numbers $n=p_1^{e_1}p_2^{e_2}\cdots p_r^{e_r}$ with primes $p_i\equiv 1(4)$ for all $i$ and $B:=(e_1+1)(e_2+1)\cdots (e_r+1)\ge 8$ have at least $4$ different representations as sum of $2$ squares, in fact $B/2$ different representations, if $B$ is even, or $(B-1)/2$ if $B$ is odd. Of course, there are other $n$ with that property as well. So far, this was more or less said already in the comments. However, if you are interested on how to obtain these representations computationally, then you might want to see this discussion here: https://mathoverflow.net/questions/29644/enumerating-ways-to-decompose-an-integer-into-the-sum-of-two-squares.

Dietrich Burde
  • 130,978