Determine all the representations of the integer $2130797 = 17^2 \times 73 \times 101 $ as a sum of two squares.
attempt: Suppose $2130797$ is of the form $n = 2^kp_1^{a_1}....p_r^{a_r}q_1^{b_1}...q_s^{b_s}$ . Where $p_1,...,p_r$ are distinct primes congruent to $1 $ modulo $4$ and $q_1,....,q_s$ are distinct primes congruent to $3$ modulo $4$. Then $n $ can be written as sum of two squares in $\mathbb{Z}$. Then the number of representations of $n $ as a sum of two squares is $4(a_1 + 1)(a_2+1)...(a_r + 1)$.
Then $2130797 = 17^2 \times 73 \times 101 = (4 + i)^2(4-i)^2(8 + 3i)(8 - 3i)(10 + i)(10 - i)$
So the number of representations of $2130797 = 4(2 + 1)(1 + 1)( 1 + 1) = 48$ .
Can someone please help me ? I don't' know how to continue. I am only able to find the number of representations. But I don't know how to start determining the different ways of representing the integer as a sum of squares.
Any feedback would help. Thank you!