Theorem 7.2: An integer $n$ can be represented as sum of two squares if and only if, it has factorization in the form:
$$n = 2^{\alpha} {p_1}^{\alpha_1} {p_2}^{\alpha_2} {p_3}^{\alpha_3} \ldots {p_r}^{\alpha_r} {q_1}^{\beta_1} {q_2}^{\beta_2} {q_3}^{\beta_3} \ldots {q_s}^{\beta_s},$$
where $p_i \equiv 1 \pmod 4$ and $q_j \equiv 3 \pmod 4$, $i = 1, 2, 3, \ldots, r$ and $j = 1, 2, 3, \ldots, s$, and all the $\beta_j$ exponents are even.
I'm having a big trouble to understand this theorem! Does the 2 indicate that the $n$ needs to be multiplied by it? I only know that by Theorem 7.1 a prime number $p$ in the form $4k + 1$ can be written as a sum of two squares.
Could anyone think of some examples where this theorem applies? I haven't found any example of it.