bill's blog

Writeup: IMO Shortlist 2002 N2

Problem Statement

Let n≥2 be a positive integer, with divisors 1=d1<d2<…<dk=n. Prove that S=d1d2+d2d3+…+dk−1dk is always less than n2, and determine when it is a divisor of n2.

My Solution

Fun problem that took me way longer that I should have! First, let's start with the second part:

Note that S≥dkdk−1=n2p, where p is the smallest prime divisor of n. We know that n2's largest divisor besides n2 is n2p, so if S≥n2p and S<n2, then we can only have S|n2 if S=dkdk−1, i.e. S has two divisors and therefore S is prime. If we can prove S<n2, then we have successfully proven that S|n2 iff n is prime.

Now, we prove S<n2. Note that

Sn2=1dkdk−1+…+1d2d1≤∑i=1k−11i(i+1)=1−1k<1

so S<n2 and we're done.