Problem

Source: I International Festival of Young Mathematicians Sozopol 2010, Theme for 10-12 grade

Tags: algebra, fractional part



Let $n\geq 3$ be a natural number and $x\in \mathbb{R}$, for which $\{ x\} =\{ x^2\} =\{ x^n\} $ (with $\{ x\} $ we denote the fractional part of $x$). Prove that $x$ is an integer.