Maths Olympiad Prep

Library / /135 of 397

Number theory Difficulty 5.5 AIME, harder Prove it Taiwan

f(x1,,xn)f(x_1, \dots, x_n) is an integer-coefficient polynomial of degree less than nn. Prove that the number of ordered nn-tuples (x1,,xn)(x_1, \dots, x_n) satisfying
f(x1,,xn)0(mod13) f(x_1, \dots, x_n) \equiv 0 \pmod{13}
must be a multiple of 13, where 0xi120 \le x_i \le 12.

Solution

Solution: In what follows all congruences are modulo 13. We first prove that
x=012xk0, for 0k<12. \sum_{x=0}^{12} x^k \equiv 0, \text{ for } 0 \le k < 12.
The case k=0k=0 is easy to prove, so suppose k>0k>0. Let gg be a primitive root modulo 13; hence g,2g,,12gg, 2g, \dots, 12g is some permutation of 1,2,,121, 2, \dots, 12. Therefore
x=012xkx=012(gx)k=gkx=012xk, \sum_{x=0}^{12} x^k \equiv \sum_{x=0}^{12} (gx)^k = g^k \sum_{x=0}^{12} x^k,
since gk1g^k \ne 1, it must be that x=012xk=0\sum_{x=0}^{12} x^k = 0.

Let S={(x1,,xn)0xi12}S = \{(x_1, \dots, x_n) | 0 \le x_i \le 12\}. It suffices to prove that the number of nn-tuples (x1,,xn)S(x_1, \dots, x_n) \in S with f(x1,,xn)0f(x_1, \dots, x_n) \ne 0 is a multiple of 13, because S=13n|S| = 13^n is a multiple of 13.

Consider the sum
(x1,,xn)S(f(x1,,xn))12, \sum_{(x_1, \dots, x_n) \in S} (f(x_1, \dots, x_n))^{12},
this sum counts the number of nn-tuples (x1,,xn)S(x_1, \dots, x_n) \in S with f(x1,,xn)0f(x_1, \dots, x_n) \ne 0, this is because Fermat's Little Theorem says
(f(x1,,xn))12{1,if f(x1,,xn)0,0,if f(x1,,xn)=0. (f(x_1, \dots, x_n))^{12} \equiv \begin{cases} 1, & \text{if } f(x_1, \dots, x_n) \ne 0, \\ 0, & \text{if } f(x_1, \dots, x_n) = 0. \end{cases}

On the other hand we can expand (f(x1,,xn))12(f(x_1, \dots, x_n))^{12} to obtain
(f(x1,,xn))12=j=1Ncji=1nxieji, (f(x_1, \dots, x_n))^{12} = \sum_{j=1}^{N} c_j \prod_{i=1}^{n} x_i^{e_{ji}},
where N,cj,ejiN, c_j, e_{ji} are integers. Because ff is a polynomial of degree less than nn, for every jj we have ej1+ej2++ejn<12ne_{j1} + e_{j2} + \dots + e_{jn} < 12n, so for every jj there exists ii such that eji<12e_{ji} < 12. Hence we have
(x1,,xn)Scji=1nxieji=cji=1nx=012xeji0, \sum_{(x_1, \dots, x_n) \in S} c_j \prod_{i=1}^{n} x_i^{e_{ji}} = c_j \prod_{i=1}^{n} \sum_{x=0}^{12} x^{e_{ji}} \equiv 0,
because one of the sums in the product is 0. Therefore
(x1,,xn)S(f(x1,,xn))12=(x1,,xn)Sj=1Ncji=1nxieji0, \sum_{(x_1, \dots, x_n) \in S} (f(x_1, \dots, x_n))^{12} = \sum_{(x_1, \dots, x_n) \in S} \sum_{j=1}^{N} c_j \prod_{i=1}^{n} x_i^{e_{ji}} \equiv 0,
hence the number of nn-tuples (x1,,xn)(x_1, \dots, x_n) such that f(x1,,xn)≢0mod13f(x_1, \dots, x_n) \not\equiv 0 \bmod 13 must be a multiple of 13, as claimed.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from zh; metadata (topic, difficulty) added by this project.