Prove that $\forall n \in N $ $$ \sum_{i=1}^n i = \frac{n(n+1)}{2}$$ counting in two ways the number of shaded squares in the diagram.
I have been thinking about this, but I can't understand how prove it counting the shaded squares. Can i assume that $ 1+2+3+...+n $ is the number of shaded squares? I can't see it clearly.

The left-hand side sums over the numbers of shaded squares per row. The right-hand side is the number of shaded squares in an $n\times(n+1)$ rectangle; exactly half are shaded, by an order-$2$ rotational symmetry.