I am attempting to find a way to solve this problem. I understand that if $n$ is even, then $n = 2k$, however, I am struggling to understand how to solve this question.
I assume that since you are being asked $n \% 4$, that $2k$ will need to be divided by $4$ at some stage.
Could somebody explain to me the steps I would need to take to solve problems like this?
Hint:
The values of $n\bmod4$ are in $[0,3]$ periodically, and it suffices to try with $n=0$ and $n=2$.