A positive integer
is nice if there is a positive integer
with exactly four positive divisors (including 1 and
) such that the sum of the four divisors is equal to
. How many numbers in the set 2010, 2011, 2012, ..., 2019 are nice?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If m has four divisors, then its divisors would be 1, a , b and a b , where a and b are prime. Therefore, the sum of the divisors of m is 1 + a + b + a b = ( a + 1 ) ( b + 1 )
If either a + 1 or b + 1 are odd, then a or b are even. Therefore, a + 1 and b + 1 are even, so m is a multiple of 4 . The only two numbers from the range ( 2 0 1 0 − 2 0 1 9 ) that are multiples of 4 are 2 0 1 2 and 2 0 1 6 .
Factoring 2012, we get 2 2 × 5 0 3 . To make a + 1 and b + 1 even, W L O G , we have a + 1 = 2 and b + 1 = 1 0 0 6 . However, if a was 1 , then a is not prime, so 2 0 1 2 is not nice .
Factoring 2 0 1 6 , we get 2 5 × 3 2 × 7 . W L O G , we have a < b .
Testing for the lowest a , we get a + 1 = 4 and b + 1 = 5 0 4 . Therefore, a = 3 and b = 5 0 3 , so n = 2 0 1 6 is nice , with m = 1 5 0 9 . Therefore, the answer is 1