DR.WANG Mathematics中文

2010 USAMO · Question 5

Number theory · prime · divisibility

Problem outline

Let pp be an odd prime, set h=(p−1)/2h=(p-1)/2 and q=3h−1q=3h-1. Form S=∑k=1h1/((3k−1)(3k)(3k+1))S=\sum_{k=1}^{h}1/((3k-1)(3k)(3k+1)), whose last denominator is q(q+1)(q+2)q(q+1)(q+2). If integers m,nm,n with n≠0n\ne0 satisfy m/n=1/p−2Sm/n=1/p-2S, prove p∣(m−n)p\mid(m-n).

Show answer and methods 1 methods

Answer

m≡n(modp)m\equiv n\pmod p, for any integer representation of the fraction.

Method 1 Remove the exceptional reciprocal before reducing modulo the prime

For each kk, twice the summand equals 1/(3k−1)−2/(3k)+1/(3k+1)1/(3k-1)-2/(3k)+1/(3k+1) by direct common denominators. Write this as the sum of three consecutive reciprocals minus 3/(3k)3/(3k). With Ht=∑j=1t1/jH_t=\sum_{j=1}^t1/j the consecutive triples run from 22 through 3h+1=p+h3h+1=p+h, giving 2S=Hp+h−1−Hh2S=H_{p+h}-1-H_h.

Isolate 1/p1/p in this expression. The identity becomes m/n−1=−Hp−1+∑k=1h(1/k−1/(p+k))m/n-1=-H_{p-1}+\sum_{k=1}^h(1/k-1/(p+k)). The first sum pairs kk with p−kp-k for 1≤k≤h1\le k\le h; their reciprocals add to p/(k(p−k))p/(k(p-k)). The difference in each term of the second sum is p/(k(p+k))p/(k(p+k)).

All these denominators are coprime to pp, whereas every numerator contains pp. Hence m/n−1=pU/Vm/n-1=pU/V for integers U,VU,V with p∤Vp\nmid V. Clearing denominators gives V(m−n)=pnUV(m-n)=pnU, and primality gives the required divisibility, whether or not the original fraction was reduced.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)