For a positive integer n , let D ( n ) be the smallest positive number which has exactly n divisors.
How many prime number n are there such that D ( n ) < 1 0 0 0 0 0 0 ?
(You can read more about factors on our wiki here )
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.
Nice solution, James. But how did you calculate log of 1000000? I tried to draw a graph and estimate the point, but I failed.
Log in to reply
My name is not James. I just used a calculator.
Log in to reply
my calculator takes only 5 digits as input, that's why I could not use a calculator
Note that if an integer D ( n ) has a prime factorization of D ( n ) = p 1 q 1 p 2 q 2 p 3 q 3 . . . p k q k , then the number of divisors of D ( n ) is n = ( q 1 + 1 ) ( q 2 + 1 ) ( q 3 + 1 ) . . . ( q k + 1 ) .
Because n is a prime, only one factor of n is n itself, namely n = q 1 + 1 . Meanwhile every other factor ( q 2 + 1 ) , ( q 3 + 1 ) , . . . ( q k + 1 ) is 1 , giving q 2 = q 3 = . . . = q k = 0 . So D ( n ) is of the form D ( n ) = p 1 n − 1 , where p 1 , n are prime numbers. And because D ( n ) is minimally chosen, p 1 has to be 2 . Therefore for a prime number n , D ( n ) = 2 n − 1 .
Now we determine the largest number N such that D ( N ) = 2 N − 1 < 1 0 0 0 0 0 0 = 1 0 6 . You can find N by direct computation, or estimate it as follow: Since 5 3 = 1 2 5 < 1 2 8 = 2 7 , and 2 6 2 < 2 6 ∗ 1 . 5 = 9 6 < 1 2 5 , we get 2 6 2 < 5 3 < 2 7 . This implies ( 2 6 2 ) 2 < ( 5 3 ) 2 < ( 2 7 ) 2 or 2 1 3 < 5 6 < 2 1 4 , leading to 2 1 9 < 2 6 ∗ 5 6 = 1 0 6 < 2 2 0 .
Hence, 2 N − 1 = 2 1 9 or N = 2 0 , and every prime number that are less or equal to N will satisfy the requirement. This leaves us with 8 possibilities of n , which are 2 , 3 , 5 , 7 , 1 1 , 1 3 , 1 7 , 1 9 with the corresponding D ( n ) are 2 , 4 , 1 6 , 6 4 , 2 1 0 , 2 1 2 , 2 1 6 , 2 1 8 .
Problem Loading...
Note Loading...
Set Loading...
Since n is a prime number, the only way a number can have n factors is that the number, in its prime factorization form, is in the form x ( n − 1 ) . The lowest possible number that can have n factors, where n is prime, is 2 ( n − 1 ) , because 2 is the lowest prime number. l o g 2 1 0 0 0 0 0 0 is approximately 19.9. Therefore, the highest possible prime value of n is 19. There are 8 prime numbers less than or equal to 19: 2, 3, 5, 7, 11, 13, 17, and 19. Therefore, the answer is 8 .