Well, the number of ways to write $m$ as $a+b$ are clearly $m+1$, ranging from $0+(m)$ to $(m)+0$.
So the number of ways to write $n$ as $a+b+c$ are given by: $$ \sum_{c=0}^{n}(n-c+1)=\sum_{d=0}^{n}(d+1)=\sum_{k=1}^{n+1}k $$ by setting $d=n-c$ and $k=d+1$.