1998 IMO Problems/Problem 3

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

Invalid username
Login to AoPS