I am trying to self teach myself discrete maths and I am unable to solve this double summation for a closed form. Would really appreciate if someone help me understand the next step.
$$\sum_{i=1}^n\sum_{j=1}^n(i+j)$$
What I have tried:
I have separated the two $i$ and $j$ as $\sum\sum i + \sum\sum j$.
Since $\sum_{i=1}^ni=\frac12n(n+1)$, I have replaced $\sum j$ with this closed form formula
So I am left with $$\sum \sum i + \sum\frac12 n(n + 1)$$
Now I cant understand how to open the left summation of $i$ and how to further open the right summation.
EDIT: Bsed on @DavidC.Ullrich’s suggestion, I got $\Sigma ni$ on the left, so $n\cdot\dfrac{n(n+1)}{2}$ for the left side, but still can’t open the right hand summation any further.