I've been asked to show that:
$n(n+1)(2n+1) \equiv 0 \pmod 6$
I found in a previous question that:
$n(n+1)$ was divisible by $2$ and resulted in an even number e.g
$n(n+1) \equiv 0 \pmod 2$
so I figured I needed to find:
$(2n+1) \equiv 0 \pmod 3$ in order to complete
$n(n+1)(2n+1) \equiv 0 \pmod 6$
but I am unsure on how to find $(2n+1) \equiv 0 \pmod 3$
Is this the right way to find the mod 6 and if so could you tell me how I could find
$(2n+1) \equiv 0 \pmod 3?$