Problem

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

Tags: algebra, fractional part



Let n3 be a natural number and xR, for which {x}={x2}={xn} (with {x} we denote the fractional part of x). Prove that x is an integer.