Find the sum of all positive integers n , each of which has precisely 16 positive divisors and a successor n + 1 that has precisely 3 divisors.
If you think that there are an infinite number of such integers, then enter 99999 as your answer.
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.
A slightly different presentation...
We want σ 0 ( n ) = 1 6 and σ 0 ( n + 1 ) = 3 . The second of these tells us that n = p 2 − 1 where p is prime. Since n = 3 is not a solution to the problem, p must be odd. Thus both p − 1 , p + 1 are even, and exactly one of them is a multiple of 4 . Thus we can write p ± 1 = 2 a q p ∓ 1 = 2 r where a ≥ 2 and p , q are coprime odd integers. Thus n = p 2 − 1 = 2 a + 1 q r and so 1 6 = σ 0 ( n ) = ( a + 2 ) σ 0 ( q ) σ 0 ( r ) . Since a + 2 ≥ 4 , there are three options:
If a + 2 = 1 6 , then a = 1 4 and q = r = 1 . But then p ± 1 = 2 1 4 , p ∓ 1 = 2 , which is impossible.
If a + 2 = 8 , then a = 6 and σ 0 ( q ) σ 0 ( r ) = 2 . Now n = 8 is not a solution, so p = 3 is not allowed, and hence r cannot be equal to 1 . Thus r must be prime, and q = 1 . But then p = 2 6 ± 1 is either 6 3 or 6 5 , which is impossible.
if a + 2 = 4 , then a = 2 and σ 0 ( q ) σ 0 ( r ) = 4 . If q = 1 then p = 3 , 5 , and so n = 8 , 2 4 , neither of which are possible. If r = 1 then p = 3 , which is impossible. Thus we deduce that both q and r are prime.
This last case now breaks down into two final subcases:
If p = 4 q + 1 = 2 r − 1 , then r = 2 q + 1 . If q ≡ 1 ( m o d 3 ) , then r ≡ 0 ( m o d 3 ) , so that r = 3 and q = 1 , which is impossible. If q ≡ 2 ( m o d 3 ) then p ≡ 0 ( m o d 3 ) , and hence p = 3 , which is impossible. Thus q ≡ 0 ( m o d 3 ) , and hence q = 3 , so that p = 1 3 , r = 7 , and hence n = 1 6 8 is one solution.
If p = 4 q − 1 = 2 r + 1 , then r = 2 q − 1 . If q ≡ 1 ( m o d 3 ) , then p ≡ 0 ( m o d 3 ) , so that p = 3 , which is impossible. If q ≡ 2 ( m o d 3 ) then r ≡ 0 ( m o d 3 ) , and hence r = 3 , so that q = 2 , which is impossible. Thus q ≡ 0 ( m o d 3 ) , and hence q = 3 , so that p = 1 1 , r = 7 , and hence n = 1 2 0 is the other solution.
Thus the answer is 1 6 8 + 1 2 0 = 2 8 8 .
Problem Loading...
Note Loading...
Set Loading...
The only positive integers that have precisely 3 positive divisors are squares of primes p , (the 3 divisors being 1 , p and p 2 ). So we are looking for positive integers n that equal p 2 − 1 for some prime p and have a total of 1 6 positive divisors.
For p = 2 we have p 2 − 1 = 3 which has only 2 divisors, and for p = 3 we have p 2 − 1 = 8 = 2 3 , which has only 4 divisors. Now all primes p > 3 are of the form 6 k ± 1 for some positive integer k . Then p 2 − 1 = ( 6 k ± 1 ) 2 − 1 = 3 6 k 2 ± 1 2 k = 1 2 k ( 3 k ± 1 ) . Now if k is even then 2 4 ∣ 1 2 k and if k is odd then 3 k ± 1 is even and so 2 4 ∣ 1 2 ( 3 k ± 1 ) . Either way we have that 2 4 ∣ p 2 − 1 . Now 2 4 = 2 3 × 3 has ( 3 + 1 ) ( 1 + 1 ) = 8 divisors, so for p 2 − 1 to end up with a total of 1 6 divisors we can introduce precisely one of the factors 2 4 , 3 2 or a prime (to the power 1 ) other than 2 or 3 .
Now since p 2 = ( p − 1 ) ( p + 1 ) , and p − 1 and p + 1 differ by 2 , if the added factor were:
(i) 2 4 then we would need to be able to write 2 7 × 3 as a product of two integers that differ by 2 . The closest we can get in this case is 1 6 × 2 4 ;
(ii) 3 2 then we would need to be able to write 2 3 × 3 3 as a product of two integers that differ by 2 . The closest we can get in this case is 1 2 × 1 8 .
So we are left with the added prime option to look at. Now one of p − 1 or p + 1 will be divisible by at least 6 and the other by at least 2 , and since they are successive even numbers one will also be divisible by 4 . So say one is divisible by 1 2 and the other by 2 . Then for p − 1 and p + 1 to differ by 2 the introduced prime must be either 5 or 7 , yielding 2 × 5 = 1 0 along with 1 2 as one pair, and 2 × 7 = 1 4 along with 1 2 as another pair. If one was divisible by 6 and the other by 4 then only by introducing the factor 2 could we get successive even numbers 6 and 2 × 4 = 8 , but the prime we need to introduce must be other than 2 or 3 .
So after looking at all the cases, the only positive integers n that satisfy the conditions are
1 0 × 1 2 = 2 3 × 3 × 5 = 1 2 0 = 1 1 2 − 1 and 1 2 × 1 4 = 2 3 × 3 × 7 = 1 6 8 = 1 3 2 − 1 ,
the sum of which is 1 2 0 + 1 6 8 = 2 8 8 .