Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2009 / Problems / Day 2, P9

IMC 2009 · Day 2 · P9

hard

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?

Solution (official)

Note that both of our polynomials are bijective functions on Fp\mathbb{F}_p: f1(x)=x+1f_1(x) = x + 1 is the cycle 012(p1)00 \to 1 \to 2 \to \dots \to (p-1) \to 0 and f2(x)=xp2+xp3++x2+2x+1f_2(x) = x^{p-2} + x^{p-3} + \dots + x^2 + 2x + 1 is the transposition 010 \leftrightarrow 1 (this follows from the formula f2(x)=xp11x1+xf_2(x) = \frac{x^{p-1} - 1}{x - 1} + x and Fermat's little theorem). So any composition formed from them is also a bijection, and reduction modulo xpxx^p - x does not change the evaluation in Fp\mathbb{F}_p. Also note that the transposition and the cycle generate the symmetric group (f1kf2f1pkf_1^k \circ f_2 \circ f_1^{p-k} is the transposition k(k+1)k \leftrightarrow (k+1), and transpositions of consecutive elements clearly generate SpS_p), so we get all p!p! permutations of the elements of Fp\mathbb{F}_p.

The set WW only contains polynomials of degree at most p1p - 1. This means that two distinct elements of WW cannot represent the same permutation. So WW must contain those polynomials of degree at most p1p - 1 which permute the elements of Fp\mathbb{F}_p. By minimality, WW has exactly these p!p! elements.

How the field did

contestants scored
336
average (of 10)
2.15
solved (≥ 80%)
20.5%
near-0 (≤ 10%)
75.6%
discrimination
0.46

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 2005 · Day 1 · P4hardavg 2.7/10 · solved 21% · near-0 63% · disc 0.53
IMC 2007 · Day 1 · P3hardavg 3.5/10 · solved 20% · near-0 42% · disc 0.57
IMC 2012 · Day 1 · P3hardavg 2.5/10 · solved 17% · near-0 66% · disc 0.49
IMC 2021 · Day 2 · P6hardavg 2.3/10 · solved 17% · near-0 71% · disc 0.57