Problem

Source: Bangladesh National Mathematical Olympiad 2015

Tags: number theory, algebra, Bdmo, contests, 2015 Contests, modular arithmetic



Let $n$ be a positive integer.Consider the polynomial $p(x)=x^2+x+1$. What is the remainder of $ x^3$ when divided by $x^2+x+1$.For what positive integers values of $n$ is $ x^{2n}+x^n+1$ divisible by $p(x)$? Post no:$100$