Maths Olympiad Prep

Library / /22 of 45

, 2010

Number theory Difficulty 8.5 Shortlist Prove it United States

Determine whether or not there exists a positive integer kk such that p=6k+1p = 6k + 1 is prime and
(3kk)1(modp). \binom{3k}{k} \equiv 1 \pmod{p}.
(This problem was suggested by Gabriel Carroll.)

Solution

No such kk exists. For suppose that kk and pp are as described. Consider the number
A=i=0p1(i31)3k. A = \sum_{i=0}^{p-1} (i^3 - 1)^{3k}.
Because p1=6kp-1 = 6k is divisible by 33, there are three cube roots of 11 modulo pp. Therefore, three terms in the sum are 00 modulo pp, and the others are [(p1)/2][(p-1)/2]th powers of nonzero residues, hence are congruent to either 11 or 1-1 modulo pp. Consequently, AA is congruent to one of the residues p3,p5,p7,,(p3)p-3, p-5, p-7, \dots, -(p-3) modulo pp. In particular, AA cannot be congruent to 11 or 1-1 modulo pp.

On the other hand, applying the binomial theorem and changing the order of summation, we have
A=i=0p1(j=03k(3kj)(1)ji3(3kj))=j=03k((1)j(3kj)i=0p1i3(3kj)),(1) A = \sum_{i=0}^{p-1} \left( \sum_{j=0}^{3k} \binom{3k}{j} (-1)^j i^{3(3k-j)} \right) = \sum_{j=0}^{3k} \left( (-1)^j \binom{3k}{j} \sum_{i=0}^{p-1} i^{3(3k-j)} \right), \quad (1)
where we use the convention 00=10^0 = 1 for the case i=0,j=3ki = 0, j = 3k.

Now, we claim that i=0p1id0(modp)\sum_{i=0}^{p-1} i^d \equiv 0 \pmod{p} if p1dp-1 \nmid d. For this, choose a primitive root gg modulo pp and notice that gd≢1(modp)g^d \not\equiv 1 \pmod{p}, while we have
(gd1)i=0p1idi=0p1(gi)di=0p1id0(modp), (g^d - 1) \sum_{i=0}^{p-1} i^d \equiv \sum_{i=0}^{p-1} (g \cdot i)^d - \sum_{i=0}^{p-1} i^d \equiv 0 \pmod{p},
giving the claim. Further, notice that i=0p1id0(modp)\sum_{i=0}^{p-1} i^d \equiv 0 \pmod{p} when d=0d = 0.

Now, because 3(3k)<2(p1)3 \cdot (3k) < 2(p-1), the only value of jj such that 3(3kj)3 \cdot (3k-j) is a multiple of p1p-1 is j=kj = k, where 3(3kj)=6k=p13 \cdot (3k-j) = 6k = p-1. This means that the sums ii3(3kj)\sum_i i^{3 \cdot (3k-j)} are congruent to 00 modulo pp unless j=kj = k. Further, for j=kj = k, the sum evaluates to
i=0p1i6ki=0p1ip1i=1p111(modp). \sum_{i=0}^{p-1} i^{6k} \equiv \sum_{i=0}^{p-1} i^{p-1} \equiv \sum_{i=1}^{p-1} 1 \equiv -1 \pmod{p}.

Considering (1) in this light, we find that
A(1)k(3kk)(1)(modp). A \equiv (-1)^k \cdot \binom{3k}{k} \cdot (-1) \pmod{p}.
Since we saw that AA is not congruent to 11 or 1-1 modulo pp, we conclude that (3kk)≢1(modp)\binom{3k}{k} \not\equiv 1 \pmod{p}, a contradiction.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.