Thank you for reporting, we will resolve it shortly
Q.
For which positive integers $n$ is the ratio, $\frac{\displaystyle\sum_{ k =1}^{ n } k ^2}{\displaystyle\sum_{ k =1}^{ n } k }$ an integer?
Sequences and Series
Solution:
$\frac{ n ( n +1)(2 n +1) \cdot 2}{6 \cdot n ( n +1)}$ must be an integer
$\frac{2 n +1}{3}$ must be an integer $ \Rightarrow (2 n +1)$ is divisible by 3
$\Rightarrow n \in 1,4,7,10, \ldots \ldots ., n$ is of the form of $(3 k +1), k \geq 0, k \in I$