Let $x$ be a non-zero real number such that $x + \frac{1}{x}$ is an integer. Prove that $\forall n\in \mathbb{N}$ the number $x + \frac{1}{x}$ is also an integer.
Attempt at solution using induction:
base case: $n = 1$ then $x^n + \frac{1}{x^n} = x + \frac{1}{x}$ which is an integer
Inductive assumption: Assume that for some $k\in \mathbb{N} : x^k + \frac{1}{x^k}$
We have to show that $ x^{k+1} + \frac{1}{x^{k+1}}$ is an integer.
$$ x^{k+1} + \frac{1}{x^{k+1}} = x^k\cdot x + \frac{1}{x^k\cdot x} = \frac{(x^k\cdot x)\cdot (x^k\cdot x)+1}{x^k\cdot x}$$
I can't find a way to seperate $x$ and $\frac{1}{x}$ from the term so I can use the inductive assumption.
Edit: I don't think that this question should count as a duplicate since the linked question is asking to specifically solve another problem and one of the answers of that question utilize the proof from this question in their answer but that question itself is different and not related to this question since that question can be solved without using this proof as other answers of that question don't include it.