Skip to content

Problem 4

For each integer nn, 1<n<5001\lt n\lt 500, there exists a number that is divisible by all positive integers less than or equal to nn except mm and m+1m+1. Find the sum of all possible mm.

Solution

Answer: 447447

The PDF argues that both omitted numbers mm and m+1m+1 must be prime powers; otherwise, their proper factors would force them to divide the chosen number. Since they have different parity, one must be a power of 22.

The solution lists the candidate values 1,2,3,4,7,16,31,127,2561,2,3,4,7,16,31,127,256. Adding them gives 447447, the answer recorded in the PDF.