I'm asked to find the remainder of $305^{305}$ when it is divided by $42$.
My progress:
$305 \equiv 11 $ (mod 42) so $305^{305} -> 11^{305}$
$11^1 \equiv 11 $ (mod $42$)
$11^2 \equiv 121 \equiv 37$ (mod $42$)
$11^3 \equiv (11^2)(11) \equiv (37)(11) \equiv 29$ (mod $42$)
so this is where I'm having problems. It seems like I can't narrow my congruence to just $11^n \equiv 1$ (mod $42$) to state that $11^{nk} \equiv 1$ (mod $42$) where $k \in Z$ so I can easily substitute that into $11^{305} \equiv 11^{nk} + 11^j \equiv 1 + 11^j $ (mod $42$) where $j \in Z$, and complete the solution.