Struggling with this , especially with the double summation; if anyone can help it be much appreciated!
$$\forall n \in \Bbb N : \quad \sum_{i=1}^n \sum_{c=1}^i c = \sum_{i=1}^n i(n − i + 1) .$$
It needs to be answered in the following format:
1- Prove for n=1
2- assume n=k
3- prove for k+1
If you make a drawing in the plane of the couples $(i,c)$ that are being considered in the LHS sum, you'll see a triangle with apexes $(1,1)$, $(n,1)$ and $(n,n)$. In this triangle, you count the $c$'s vertically.
Here is a visualization of what is happening:
Now switch the two sums, using your drawing : $$\sum_{i=1}^n \sum_{c=1}^i c = \sum_{c=1}^n \sum_{i=c}^n c$$ but in the inner RHS sum, $c$ is a constant, and there are $n-c+1$ terms. So : $$\sum_{c=1}^n \sum_{i=c}^n c = \sum_{c=1}^n c(n-c+1)$$ All that is left is to rename $c$ as $i$ :-)
I'd like to include the drawing, but don't know how to do. Maybe Tikz is implemented ?