For any $a \in \mathbb{N}$, $4^a \equiv (3a+1) \mod 9$. How do I prove this?
I have attempted to do so by induction(which I think should be sufficient).
For the base case: $4^0 = 1 \equiv (3(0)+1) \mod 9$.
I have tried assuming the inductive hypothesis $4^a \equiv (3a+1) \mod 9$ to try and get the result to be true for say $a+1$ but I can't get past that point and don't know whether this is the correct route. Any help would be appreciated.