IMC 2009 · Problem 4

Day 216th IMC · Budapest, Hungary

Statement

Let pp be a prime number and Fp\mathbb{F}_p be the field of residues modulo pp. Let WW be the smallest set of polynomials with coefficients in Fp\mathbb{F}_p such that

  • the polynomials x+1x + 1 and xp2+xp3++x2+2x+1x^{p-2} + x^{p-3} + \dots + x^2 + 2x + 1 are in WW, and

  • for any polynomials h1(x)h_1(x) and h2(x)h_2(x) in WW the polynomial r(x)r(x), which is the remainder of h1(h2(x))h_1(h_2(x)) modulo xpxx^p - x, is also in WW.

How many polynomials are there in WW?

Official solution

Hidden so you can work on the problem first.