IMO 1998

------
 
 
Problem A3

For any positive integer n, let d(n) denote the number of positive divisors of n (including 1 and n). Determine all positive integers k such that d(n2) = k d(n) for some n.

 

Solution

Let n = p1a1...prar. Then d(n) = (a1 + 1)(a2 + 1) ... (ar + 1), and d(n2) = (2a1 + 1)(2a2 + 1) ... (2ar + 1). So the ai must be chosen so that (2a1 + 1)(2a2 + 1) ... (2ar + 1) = k (a1 + 1)(a2 + 1) ... (ar + 1). Since all (2ai + 1) are odd, this clearly implies that k must be odd. We show that conversely, given any odd k, we can find ai.

We use a form of induction on k. First, it is true for k = 1 (take n = 1). Second, we show that if it is true for k, then it is true for 2mk - 1. That is sufficient, since any odd number has the form 2mk - 1 for some smaller odd number k. Take ai = 2i((2m - 1)k - 1) for i = 0, 1, ... , m-1. Then 2ai + 1 = 2i+1(2m - 1)k - (2i+1 - 1) and ai + 1 = 2i(2m - 1)k - (2i - 1). So the product of the (2ai + 1)'s divided by the product of the (ai + 1)'s is 2m(2m - 1)k - (2m - 1) divided by (2m - 1)k, or (2mk - 1)/k. Thus if we take these ais together with those giving k, we get 2mk - 1, which completes the induction.  


 

39th IMO 1998

(C) John Scholes
jscholes@kalva.demon.co.uk
26 Oct 1998
Last corrected/updated 20 Aug 03