Olympiad Maths Prep

Track / Stage 7 / 217 of 300 #1617 of 2000

Problem 1617

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.4 Prove it

Given a prime pp, show that there exist two integers a,ba, b which satisfies the following.

For all integers mm, m3+2017am+bm^3+ 2017am+b is not a multiple of pp.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

Given a prime p p , we need to show that there exist two integers a a and b b such that for all integers m m , the expression m3+2017am+b m^3 + 2017am + b is not a multiple of p p .

We will divide the proof into two cases:

1. **Case (i): p2017 p \neq 2017 **

- Choose a20171(p1)(modp) a \equiv 2017^{-1}(p-1) \pmod{p} . This choice ensures that 2017ap1(modp) 2017a \equiv p-1 \pmod{p} .
- We want to choose b b such that m3mb(modp) m^3 - m \equiv -b \pmod{p} for all mN m \in \mathbb{N} .
- Note that 030=0 0^3 - 0 = 0 and 131=0 1^3 - 1 = 0 . Therefore, the set A={m3m(modp)m=0,1,2,,p1} A = \{ m^3 - m \pmod{p} \mid m = 0, 1, 2, \ldots, p-1 \} has at least two repeated zeros.
- Since there are p p elements in the set {0,1,2,,p1} \{0, 1, 2, \ldots, p-1\} and A A has at least two repeated zeros, there must exist an integer c c in {0,1,2,,p1} \{0, 1, 2, \ldots, p-1\} that is not in A A .
- Take bc(modp) b \equiv -c \pmod{p} . This ensures that m3+2017am+b m^3 + 2017am + b is not a multiple of p p for any integer m m .

2. **Case (ii): p=2017 p = 2017

- Claim 1:** The congruence x23(mod2017) x^2 \equiv -3 \pmod{2017} has a solution in x x .
- Proof of Claim 1:
(32017)=(12017)(32017) \left( \frac{-3}{2017} \right) = \left( \frac{-1}{2017} \right) \left( \frac{3}{2017} \right)
=(1)201712(32017) = (-1)^{\frac{2017-1}{2}} \left( \frac{3}{2017} \right)
=(32017) = \left( \frac{3}{2017} \right)
=(1)201712312(20173)1 = (-1)^{\frac{2017-1}{2} \cdot \frac{3-1}{2}} \left( \frac{2017}{3} \right)^{-1}
=(13)=1 = \left( \frac{1}{3} \right) = 1
Hence, the claim is proven. \square

- Choose xy21(1+3)(mod2017) x \equiv y \cdot 2^{-1}(-1 + \sqrt{-3}) \pmod{2017} where y{1,2,3,,2016} y \in \{1, 2, 3, \ldots, 2016\} . We know that 3(mod2017) \sqrt{-3} \pmod{2017} is meaningful using Claim 1.
- Observe that:
x2+xy+y2(y21(1+3))2+(y21(1+3))y+y2(mod2017) x^2 + xy + y^2 \equiv \left( y \cdot 2^{-1}(-1 + \sqrt{-3}) \right)^2 + \left( y \cdot 2^{-1}(-1 + \sqrt{-3}) \right)y + y^2 \pmod{2017}
y2(2)1(1+3)+y221(1+3)+y2(mod2017) \equiv y^2(-2)^{-1}(1 + \sqrt{-3}) + y^2 2^{-1}(-1 + \sqrt{-3}) + y^2 \pmod{2017}
y2(21(131+3)+1)(mod2017) \equiv y^2 \left( 2^{-1}(-1 - \sqrt{-3} - 1 + \sqrt{-3}) + 1 \right) \pmod{2017}
0(mod2017) \equiv 0 \pmod{2017}
- Therefore:
(xy)(x2+xy+y2)0(mod2017)    x3y3(mod2017) (x - y)(x^2 + xy + y^2) \equiv 0 \pmod{2017} \implies x^3 \equiv y^3 \pmod{2017}
- Since xy21(1+3)(mod2017) x \equiv y \cdot 2^{-1}(-1 + \sqrt{-3}) \pmod{2017} , it is not hard to verify that x≢y(modp) x \not\equiv y \pmod{p} .
- Consider the set B={m3(mod2017)m=1,2,3,,2016} B = \{ m^3 \pmod{2017} \mid m = 1, 2, 3, \ldots, 2016 \} . Since we know that there exist x,y≢0(mod2017) x, y \not\equiv 0 \pmod{2017} with x3y3(mod2017) x^3 \equiv y^3 \pmod{2017} , there must exist an integer k k such that k=1,2,3,,2016 k = 1, 2, 3, \ldots, 2016 and k∉B k \not\in B .
- Now, choosing b=2017k b = 2017 - k , we are done. \blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.