This is LaTeX code:

[latex]
f(x)=(x^2+x+1)^n
[/latex]