Maths Olympiad Prep

Library / /363 of 520

Algebra Difficulty 5.6 AIME, harder Find the answer

4. Find the number of polynomials f(x)=ax3+bxf(x)=a x^{3}+b x that satisfy the following two conditions:
(1) a,b{1,2,,2013}a, b \in\{1,2, \cdots, 2013\};
(2) The difference between any two numbers in f(1),f(2),,f(2013)f(1), f(2), \cdots, f(2013) is not a multiple of 2013. (Wang Bin)

A number or a short expression. Spacing and $ signs are ignored.

Solution

4. It is known that the prime factorization of 2013=3×11×612013=3 \times 11 \times 61.

Let p1=3,p2=11,p3=61p_{1}=3, p_{2}=11, p_{3}=61.
For a,b{1,2,,2013}a, b \in\{1,2, \cdots, 2013\}, let
aai(modpi),bbi(modpi)a \equiv a_{i}\left(\bmod p_{i}\right), b \equiv b_{i}\left(\bmod p_{i}\right),
where i=1,2,3i=1,2,3.
By the Chinese Remainder Theorem, we know that (a,b)(a, b) and (a1,a2,a3\left(a_{1}{ }^{\prime}, a_{2}, a_{3}\right., b1,b2,b3)\left.b_{1}, b_{2}, b_{3}\right) are in one-to-one correspondence.
Let fi(x)=aix3+bix(i=1,2,3)f_{i}(x)=a_{i} x^{3}+b_{i} x(i=1,2,3).
A polynomial is called a "good polynomial modulo nn" if f(0),f(1),,f(n1)f(0), f(1), \cdots, f(n-1) have distinct remainders modulo nn.

If f(x)=ax3+bxf(x)=a x^{3}+b x is not a good polynomial modulo 2013, then there exist x1x2(mod2013)x_{1} \neq x_{2}(\bmod 2013) such that
f(x1)f(x2)(mod2013)f\left(x_{1}\right) \equiv f\left(x_{2}\right)(\bmod 2013).
Assume x1x2(modpi)x_{1} \neq x_{2}\left(\bmod p_{i}\right), and let u1,u2u_{1}, u_{2} be the remainders of x1x_{1} and x2x_{2} modulo pip_{i}. Then
u1u2(modpi)u_{1} \equiv u_{2}\left(\bmod p_{i}\right),

and fi(u1)fi(u2)(modpi)f_{i}\left(u_{1}\right) \equiv f_{i}\left(u_{2}\right)\left(\bmod p_{i}\right).
Thus, fi(x)f_{i}(x) is not a good polynomial modulo pip_{i}.
If f(x)=ax3+bxf(x)=a x^{3}+b x is a good polynomial modulo 2013, then each fi(x)f_{i}(x) is a good polynomial modulo pip_{i}.
In fact, for any different
r1,r2{0,1,,pi1}r_{1}, r_{2} \in\left\{0,1, \cdots, p_{i}-1\right\},

there exist x1,x2{1,2,,2013}x_{1}, x_{2} \in\{1,2, \cdots, 2013\} such that
x1x2(mod2013pi) x_{1} \equiv x_{2}\left(\bmod \frac{2013}{p_{i}}\right)

and x1r1(modpi),x2r2(modpi)x_{1} \equiv r_{1}\left(\bmod p_{i}\right), x_{2} \equiv r_{2}\left(\bmod p_{i}\right).
Since f(x1)f(x2)(mod2013)f\left(x_{1}\right) \neq f\left(x_{2}\right)(\bmod 2013) and
f(x1)f(x2)(mod2013pi)f\left(x_{1}\right) \equiv f\left(x_{2}\right)\left(\bmod \frac{2013}{p_{i}}\right),
it follows that f(r1)f(r2)(modpi)f\left(r_{1}\right) \neq f\left(r_{2}\right)\left(\bmod p_{i}\right), and the conclusion holds.
Therefore, the problem reduces to finding the number of good polynomials fi(x)f_{i}(x) modulo pip_{i}.
For p1=3p_{1}=3, by Fermat's Little Theorem, we have
f1(x)a1x+b1x(a1+b1)x(mod3)f_{1}(x) \equiv a_{1} x+b_{1} x \equiv\left(a_{1}+b_{1}\right) x(\bmod 3)

is a good polynomial if and only if a1+b1a_{1}+b_{1} is not a multiple of 3, and there are 6 such f1(x)f_{1}(x).
For i=2,3i=2,3, if fi(x)f_{i}(x) is a good polynomial modulo pip_{i},

then for any u,v≢0(modpi)u, v \not\equiv 0\left(\bmod p_{i}\right),
fi(u+v)≢fi(uv)(modpi)f_{i}(u+v) \not\equiv f_{i}(u-v)\left(\bmod p_{i}\right)
pi[fi(u+v)fi(uv)]\Rightarrow p_{i} \nmid\left[f_{i}(u+v)-f_{i}(u-v)\right]
pi2v[ai(3u2+v2)+bi]\Rightarrow p_{i} \nmid 2 v\left[a_{i}\left(3 u^{2}+v^{2}\right)+b_{i}\right].
If ai0a_{i} \neq 0, the sets
A={3aiu2u=0,1,,pi12}A=\left\{3 a_{i} u^{2} \mid u=0,1, \cdots, \frac{p_{i}-1}{2}\right\}

and B={biaiv2v=1,2,,pi12}B=\left\{-b_{i}-a_{i} v^{2} \mid v=1,2, \cdots, \frac{p_{i}-1}{2}\right\},
have non-overlapping remainders modulo pip_{i}.
Clearly, the elements of sets AA and BB are distinct modulo pip_{i}, and A+B=pi|A|+|B|=p_{i}, so the pip_{i} elements of ABA \cup B have remainders that are a permutation of 0,1,,pi10,1, \cdots, p_{i}-1, and thus their sum is a multiple of pip_{i}, i.e.,
u=0pi123aiu2+v=1pi12(biaiv2)0(modpi). \sum_{u=0}^{\frac{p_{i}-1}{2}} 3 a_{i} u^{2}+\sum_{v=1}^{\frac{p_{i}-1}{2}}\left(-b_{i}-a_{i} v^{2}\right) \equiv 0\left(\bmod p_{i}\right) .

Notice that,
12+22++(pi12)2=16×pi12×pi+12pi \begin{array}{l} 1^{2}+2^{2}+\cdots+\left(\frac{p_{i}-1}{2}\right)^{2} \\ =\frac{1}{6} \times \frac{p_{i}-1}{2} \times \frac{p_{i}+1}{2} p_{i} \end{array}

is a multiple of pip_{i}, so pi12bi-\frac{p_{i}-1}{2} b_{i} is also a multiple of pip_{i}. Thus, bib_{i} is a multiple of pip_{i}, meaning that at least one of aia_{i} or bib_{i} is 0, and they cannot both be 0.

If ai=0,bi0a_{i}=0, b_{i} \neq 0, then fi(x)=bixf_{i}(x)=b_{i} x is clearly a good polynomial.
Thus, there are pi1p_{i}-1 such good polynomials.
If ai0,bi=0a_{i} \neq 0, b_{i}=0, then fi(x)=aix3f_{i}(x)=a_{i} x^{3}.
For p2=11p_{2}=11, by Fermat's Little Theorem, we have
(x3)?=x21x(mod11)\left(x^{3}\right)^{?}=x^{21} \equiv x(\bmod 11).
Thus, for x1x2(mod11),x13x23(mod11)x_{1} \equiv x_{2}(\bmod 11), x_{1}^{3} \equiv x_{2}^{3}(\bmod 11), f2(x)=a2x3f_{2}(x)=a_{2} x^{3} is a good polynomial.
Thus, there are 10 such good polynomials.
For p3=61p_{3}=61, since
43=64125=53(mod61)4^{3}=64 \equiv 125=5^{3}(\bmod 61),
f3(x)=a3x3f_{3}(x)=a_{3} x^{3} is not a good polynomial.
In summary, the number of polynomials f(x)f(x) is
6×(10+10)×60=72006 \times(10+10) \times 60=7200.

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.