I need help solving this particular congruence with Euclidean algorithm. I, in general, don't know how to solve congruences with exponents so I don't even know how to start.
\begin{align*} x \equiv 6^{29} \;(\bmod\; 7) \end{align*}
I know how to solve the ones without exponents, so it would be great if someone could do a step by step solution for this example and explain it to me a little bit better. I want to use Euclidean algorithm because that's how I learnt to do all other congruences and Chinese remainder theorem. (This is how i do them: https://www.youtube.com/watch?v=4-HSjLXrfPs)
Any help is much appreciated.
Irrespective of $6\equiv -1\bmod 7$; Euler's theorem helps:
For any $a$ not divisible by $7$, on has $$a^n\equiv a^{n\bmod\varphi(7)}=a^{n\bmod 6}\bmod n.$$ Actually $6$ has order $2$ modulo $7$, so one even has $\;a^n\equiv a^{n\bmod 2}\bmod 7$.