I need to calculate the remainder when $15^{43}-3^{23}$ is divided by $14$.
Using what I know already, I got that:
$$15^{43} \equiv 1 \mod 14$$
$$3^{23} \equiv 5 \mod 14$$
and so I should have that
$$15^{43}-3^{23} \equiv (-4)\bmod14$$ but this is not right so I don't really know what to do, I can't see any error in my calculations?
Any ideas?