Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.3.11 (If $S(n) = \sum_{j \in [\![1, n]\!], \, j \wedge n = 1} j^2$, then $\sum_{j=1}^n j^2 = \sum_{d \mid n} d^2 S \left(\frac{n}{d}\right)$)
Exercise 4.3.11 (If $S(n) = \sum_{j \in [\![1, n]\!], \, j \wedge n = 1} j^2$, then $\sum_{j=1}^n j^2 = \sum_{d \mid n} d^2 S \left(\frac{n}{d}\right)$)
Let denote the sum of the squares of the positive integers and prime to . Prove that
Answers
Proof. Let
denote the sum of the squares of the positive integers and prime to .
If is some divisor of , we define the set
Since
we obtain
that is
Put . If , then there is a unique integer such that and . Conversely, if , then satisfies . Therefore, the change of index gives
We have proved
We know that is bijective (see Problem 6), therefore the change of index gives
In conclusion,
□