Compute the below sum:
$\sum_{i=1}^{n}\sum_{j=1}^{n}ij$
My working:
$\sum_{i=1}^{n}\sum_{j=1}^{n}ij = \sum_{i=1}^{n}i\frac{n(n+1)}{2}$
Now since $\frac{n(n+2)}{2}$ is just a constant we can take it out of the sum
$\sum_{i=1}^{n}i\frac{n(n+1)}{2} = \frac{n(n+1)}{2}\sum_{i=1}^{n}i$
$\sum_{i=1}^{n}i\frac{n(n+1)}{2} = \frac{n(n+1)}{2}\times\frac{n(n+1)}{2}$
So we get:
$\sum_{i=1}^{n}\sum_{j=1}^{n}ij = (\frac{n(n+1)}{2})^2$
I am not sure if this is correct, or if I am using the properties of Series correctly.