$x+1/x$ an integer implies $x^n+1/x^n$ an integer

Suppose that $0\neq x\in\mathbb{R}$ and $x + \frac1x\in\mathbb{Z}$. Prove that, for all $n\ge1$, $x^n + \frac1{x^n}\in\mathbb{Z}$.

I can’t figure out and understand the question. Can you give me some hints ?

Solutions Collecting From Web of "$x+1/x$ an integer implies $x^n+1/x^n$ an integer"

The base case of $n=1$ is true, and suppose it holds for all $k<n$ in order to do the induction step. Then
which is an integer, so the result follows by induction.

Hint: Expand $(x+\frac{1}{x})^n$ using the binomial theorem. Show that this is a linear combination of elements of the form $x^m+\frac{1}{x^m}$ for $m \leq n$ and of $1$. Then use induction.

Hint let $$a_{n}=x^n+\dfrac{1}{x^n}$$ then we have
$$a_{n+2}=(x+\dfrac{1}{x})a_{n+1}-a_{n}=ka_{n+1}-a_{n},x+\dfrac{1}{x}=k\in Z$$
since $a_{1}=k\in Z,a_{2}=k^2-2\in Z$
and it is by use Mathematical induction