I have this question on my advanced algebra class. I know it's related to finite field extension of the integer ring. Let $a$ be the root of $f(x)=x^3+x+1$. Prove that the integer ring of $\mathbb{Q}(a)$ is $\mathbb{Z}+\mathbb{Z}a+\mathbb{Z}a^2$.
Thanks