There exist several positive integers x such that \frac{1}{x^2+x+1} is a terminating decimal. What is the smallest such integer?
There is a mistake in your question ! Check the numbers carefully.