Question:
Compute gcd$ \ (7^{n} + 4, \ 7^{n})$ where $ \ n \in \mathbb{N}$ using the Euclidean algorithm.
My attempt:
We first have to write it in the form $\ a = bq +r$ where $ q \ge 0,\ 0 \le r \lt b$
$ a = 7^{n} + 4$
$b = 7^{n}$
Step $1$:
$ 7^{n} + 4 = 7^{n}. 1 + 4$
Step $2$:
$ 7^{n} = 4.q + r $
I can't seem to find new $ \ q,r$ in the second step
The Euclidean algorithm yields the GCD as the last non-zero remainder. (I assume you are familiar with this) I'll continue where you got stuck: $$7^n = 4q + r, 0\leq r<4 $$ If $r=0$, then $7^n$ would be divisible by $4$, which is nonsense. So $r\in\{1,2,3\}$
Suppose $r=3$, then $7^n = 4q + 3$, for some $q\in\mathbb Z$ and $\mbox{gcd}(4,3)=1$, so $\mbox{gcd}(7^n+4,7^n)=1$.
Apparently, $r=2$ is impossible. In any event, the greatest common divisor must be $1$.