I was asked to show that $\forall n\in \mathbb N$ there exist a $p\in \mathbb N^\ast$ such that $$(1+\sqrt{2})^n = \sqrt{p} + \sqrt{p-1}$$
I used induction but it wasn't fruitful, so I tried to use the binomial expansion of $(1+\sqrt{2})^n$ but it seems I lack some insight to go further.
Any hint is welcomed.
The binomial formula shows you that $$(1+\sqrt2)^n=a_n+b_n\sqrt2$$ for some integers $a_n, b_n$.
But, the same binomial formula shows you that (convince yourself of this) $$ (1-\sqrt2)^n=a_n-b_n\sqrt2 $$ for the same integers $a_n,b_n$.
Then comes the hint: Calculate both $$(a_n+b_n\sqrt2)(a_n-b_n\sqrt2)$$ and $$(1+\sqrt2)^n(1-\sqrt2)^n=[(1+\sqrt2)(1-\sqrt2)]^n$$ and compare.