I'm dealing with the test of the International Mathematics Competition for University Students, 2011, and I've had a lot of difficulties, so I hope someone could help me to discuss the questions.
I've posted before the questions 2 and 5, and this last is still open.
Well, the question 3 says that:
Let be $p$ a prime number. We say that a positive integer $n$ is interesting if
$x^n-1=(x^p-x+1)f(x)+pg(x)$
where $f$ and $g$ are polynomials with integer coeficients.
(a) Prove that the number $p^p-1$ is interesting.
(b) For which $p$ the number $p^p-1$ is the minimal interesting number?
Well, I unfortunately couldn't do a lot on item a), and I couldn't even understand the item b).
The item a) ask a proof: "the number $p^p-1$ is interesting". So, in any case, this number is interesting... I couldn't understand the item b).
Particularly, I've tried prove that $p^p-1$ is interesting when $p=2$ (earliest prime) and got the following:
$p=2\Longrightarrow p^p-1=3$
Let be $f(x)=x+1$ and $g(x)=-1$, so
$x^{p^p-1}-1=(x^p-x+1)f(x)+pg(x)$.
In fact,
$x^3-1=(x^2-x+1)(x+1)-2$.
Thanks very much.
I'll do part $(a)$.
Let $p$ be a prime, and let $n=p^p-1$.
The goal is to show that there exist $f,g\in\mathbb{Z}[x]$ such that $$x^n-1=(x^p-x+1)f(x)+pg(x)$$ or equivalently, that in $Z_p[x]$, we have $$(x^p-x+1){\,\mid\,}(x^n-1)$$
Note that in $Z_p[x]$, we have $(a+b)^p=a^p+b^p$.
Let $h\in Z_p[x]$ be given by $h=x^p-x+1$.
Then in $Z_p[x]$, working mod $h$, we have \begin{align*} x^p&\equiv x-1\;(\text{mod}\;h)\\[8pt] \implies\;x^{p^2}&\equiv (x-1)^p\;(\text{mod}\;h)\\[4pt] &\equiv x^p-1\;(\text{mod}\;h)\\[4pt] &\equiv (x-1)-1\;(\text{mod}\;h)\\[4pt] &\equiv x-2\;(\text{mod}\;h)\\[8pt] \implies\;x^{p^3}&\equiv (x^p-1)^p\;(\text{mod}\;h)\\[4pt] &\equiv x^{p^2}-1\;(\text{mod}\;h)\\[4pt] &\equiv (x-2)-1\;(\text{mod}\;h)\\[4pt] &\equiv x-3\;(\text{mod}\;h)\\[8pt] &\;\;\vdots\\[8pt] \implies\;x^{p^p}&\equiv x-p\;(\text{mod}\;h)\\[4pt] &\equiv x\;(\text{mod}\;h)\\[8pt] \implies\;x^{p^p-1}&\equiv 1\;(\text{mod}\;h)\\[4pt] \end{align*} It follows that in $Z_p[x]$, we have $$(x^p-x+1){\,\mid\,}(x^n-1)$$ as was to be shown.