Smallest number whose number of factors is prime.

For a positive integer n n , let D ( n ) D(n) be the smallest positive number which has exactly n n divisors.

How many prime number n n are there such that D ( n ) < 1000000 D(n) < 1000000 ?

(You can read more about factors on our wiki here )


The answer is 8.

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.

2 solutions

Jesse Li
May 14, 2019

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 ) x^{(n-1)} . The lowest possible number that can have n factors, where n is prime, is 2 ( n 1 ) 2^{(n-1)} , because 2 is the lowest prime number. l o g 2 1000000 log_2{1000000} 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 \boxed{8} .

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.

Jesse Li - 2 years ago

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 ) 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 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 ) D(n) is n = ( q 1 + 1 ) ( q 2 + 1 ) ( q 3 + 1 ) . . . ( q k + 1 ) n = (q_1 + 1)(q_2 + 1)(q_3 + 1)...(q_k + 1) .

Because n n is a prime, only one factor of n n is n n itself, namely n = q 1 + 1 n = q_1 + 1 . Meanwhile every other factor ( q 2 + 1 ) , ( q 3 + 1 ) , . . . ( q k + 1 ) (q_2 + 1), (q_3 + 1), ...(q_k + 1) is 1 1 , giving q 2 = q 3 = . . . = q k = 0 q_2 = q_3 = ... = q_k = 0 . So D ( n ) D(n) is of the form D ( n ) = p 1 n 1 D(n) = p_1^{n - 1} , where p 1 , n p_1, n are prime numbers. And because D ( n ) D(n) is minimally chosen, p 1 p_1 has to be 2 2 . Therefore for a prime number n n , D ( n ) = 2 n 1 D(n) = 2^{n - 1} .

Now we determine the largest number N N such that D ( N ) = 2 N 1 < 1000000 = 1 0 6 D(N) = 2^{N - 1} < 1000000 = 10^6 . You can find N N by direct computation, or estimate it as follow: Since 5 3 = 125 < 128 = 2 7 5^3 = 125 < 128 = 2^7 , and 2 6 2 < 2 6 1.5 = 96 < 125 2^6 \sqrt{2} < 2^6 * 1.5 = 96 < 125 , we get 2 6 2 < 5 3 < 2 7 2^6 \sqrt{2} < 5^3 < 2^7 . This implies ( 2 6 2 ) 2 < ( 5 3 ) 2 < ( 2 7 ) 2 (2^6 \sqrt{2})^2 < (5^3)^2 < (2^7)^2 or 2 13 < 5 6 < 2 14 2^{13} < 5^6 < 2^{14} , leading to 2 19 < 2 6 5 6 = 1 0 6 < 2 20 2^{19} < 2^6*5^6 = 10^6 < 2^{20} .

Hence, 2 N 1 = 2 19 2^{N - 1} = 2^{19} or N = 20 N = 20 , and every prime number that are less or equal to N N will satisfy the requirement. This leaves us with 8 8 possibilities of n n , which are 2 , 3 , 5 , 7 , 11 , 13 , 17 , 19 2,3,5,7,11,13,17,19 with the corresponding D ( n ) D(n) are 2 , 4 , 16 , 64 , 2 10 , 2 12 , 2 16 , 2 18 2,4,16, 64, 2^{10}, 2^{12}, 2^{16}, 2^{18} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...