I am trying to prove this for any natural number $n$:
$$ \sum_{k=1}^{n} k \equiv \left\{ \begin{array}{ll} \frac{n}{2} \pmod n & \quad 2\mid n \\ 0 \pmod n & \quad 2\nmid n \end{array} \right. $$
So essentially the sum of all natural numbers 1 to $n$ is congruent to either 0 when $n$ is odd or half of $n$ for even $n$ values. I haven't worked much with sums within the congruence relationship so I'm not sure where to start on this one.
Since is well known that $\sum_{k=1}^{n} k = \frac{n}{2} (n+1)$, then if $n$ is even so $n=2m$, then the sum is $m(n+1)$ which is $mn +m \equiv m \;(mod \;n)$. If $n$ is odd, then $(n+1)$ is even, so there exist $c\in \mathbb{N}$ such $c=\frac{n+1}{2}$, so then the sum will be $c*n \equiv 0 \; (mod \; n)$