Consider the equation $a_n +b_n\sqrt{2} = (1+\sqrt{2})^n$ where $a_n, b_n \in \mathbb{Z} \ge 1$. Prove that $\gcd(a_n, b_n) = 1$.
I know that $(1+2\sqrt{3}) = 1^3 + 3(1)^2(\sqrt{2})^2 + 3(1)(\sqrt{2})^2 + (\sqrt{2})^3 = 7+5\sqrt{2}$
so $a_n = 7, b_n = 5$ by binomial expansion.
So my strategy is to prove this via mathematical induction. The base case is easy. What I need for the inductive step is to get the relation between $(a_n+1, bn+1)$ to $(a_n, b_n)$. So we get:
$$a_{n+1}, b_{n+1}\sqrt{2} = (1+\sqrt{2})(1+\sqrt{2})^n = (1+\sqrt{2})(a_n +b_n\sqrt{2}) = (a_n + 2b_n)+(a_n+b_n)\sqrt{2}$$
So we have $a_{n+1} = a_n + 2b_n, b_{n+1} = a_n + b_n$
So now I'm trying to use the euclidean algorithm to show that $\gcd(a_{n+1}, b_{n+1}) = 1$. So we get:
$\gcd(a_{n+1}, b_{n+1}) = (a_n + 2b_n,a_n + b_n)=$
$a_n+2b_n= 1 *(a_n + b_n) + b_n =$
$a_n + b_n = 1 * (b_n) + a_n$
$b_n = 0 * (a_n) + bn$
But, where do I go from here?
Any help would be appreciated!
-IdleMathGuy
Here is an alternative approach. You have $$a_n-b_n\sqrt{2}=(1-\sqrt{2})^n\,.$$ That is, $$\begin{align}a_n^2-2b_n^2&=\big(a_n-b_n\sqrt2\big)(a_n+b_n\sqrt2\big)\\&=\big((1-\sqrt2)(1+\sqrt2)\big)^n=(-1)^n\,.\end{align}$$ Thus, $$x_n\,a_n+y_n\,b_n=1\,,$$ where $x_n:=(-1)^n\,a_n$ and $y_n:=-2\,(-1)^n\,b_n$ are integers. Thus, $\gcd(a_n,b_n)=1$.