Given a prime $p$, show that there exist two integers $a, b$ which satisfies the following. For all integers $m$, $m^3+ 2017am+b$ is not a multiple of $p$.
Problem
Source: 2017 KMO Problem 5
Tags: number theory, polynomial, Cubic, Divisibility
12.11.2017 13:21
For korean contestant: Should I need to prove “law of quadratic reciprocity?”
12.11.2017 13:22
No. You don't need to prove it.
12.11.2017 13:25
If $p=2017$, the set $\{m^3\mid m=0,1,2,...,2016\}$ takes $\dfrac{2017-1}{3}=672$ residues in $\pmod p$. If $p=3$, take $a=2, b=1$ so we have $m^3+2017am+b\equiv m+2m+1\equiv 1\pmod p$. If $p\ne 2017, 3$, take $a=2017^{-1}$ and use this problem to conclude.
12.11.2017 14:16
Can you eloborate more please? I think APMO's problem is a bit different?
12.11.2017 14:19
So the APMO problem tell that if $p\ne 3$ then there are exists a positive integer $r$ such that $p\nmid x^3+x-r$ for every positive integer $x$. (You have to look at the answer of the APMO problem) Now just take $b=-r$ and we are done.
12.11.2017 16:04
For $p=2$, take $a=b=1$. For $p=3$, take $a=2, b=1$. For $p \equiv 1 \pmod{3}$, take $a=0$. We know that $f(x)=x^3$ is not injective (on $\pmod{p}$) since $(g^k)^3 \equiv (g^{2k})^3 \equiv 1 \pmod{p}$, where $g$ is a primitive root and $k=\frac{p-1}{3}$. Therefore, there is an $b$ such that $b \not\equiv -m^3 \pmod{p}$ for all integers $m$. Taking this $b$, we are done here. For $p \equiv 2 \pmod{3}$, since $(p,2017)=1$, take $a=-2017^{-1}$. Then denoting $f(m)=m^3+2017am$, we have $f(0) \equiv f(1) \equiv 0 \pmod{p}$, so $f(x)$ is not surjective again. Take $b$ so that $-b$ is not in the range of $f$, and we are done.
12.11.2017 16:19
Do the $p=3,2017$ cases separately (it is easy). We can count the number of reducible, monic trinomials over $\mathbb F_p$ whose roots sum to $0$ as strictly less than $p^2$ (the number of ways to choose a monic linear factor and an appropriate monic quadratic factor), since the case where the polynomial splits into not-all-identical linear factors is overcounted and there is at least one such cubic (e.g.: $(x-1)(x-1)(x+2)$). However, there are exactly $p^2$ distinct cubics of the form in the problem, so we conclude the result $\blacksquare$
12.11.2017 18:06
Would I need to prove the existence of primitive roots?
12.11.2017 21:47
S.C.B. wrote: Would I need to prove the existence of primitive roots? No, you don't need to.
13.11.2017 00:18
Can we take such $a$ that $2017a\equiv -7 \pmod{p}$? Then $f(1)=1+2017a+b=b-6 \pmod{p}$ and $f(2)=8+2017a*2+b=b-6 \pmod {p}$ For $p=2017$: $2017=17^2+3*24^2=(17-24)^2+(2*24)^2+(17-24)*(2*24)$ so $(-7)^3 \equiv 48^3 \pmod {2017}$ and so we can take $a=0$ and $f(2010)=f(48) \pmod{2017}$
13.11.2017 00:24
You have to consider $p=2017$ separately.
22.04.2018 11:08