Three is the Problem

36 has a total of 9 positive factors: 1, 2, 3, 4, 6, 8, 12, 18, 36.

How many 3-digit numbers have exactly 3 positive factors?


Bonus: How many 5-digit numbers have exactly 5 positive factors?


The answer is 7.

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

If an integer N = k = 1 m p k q k \displaystyle N = \prod_{k=1}^m p_k^{q_k} , where p k p_k is a prime factor of N N , then the number of positive factors of N N is given by n = k = 1 m ( q k + 1 ) \displaystyle n = \prod_{k=1}^m (q_k +1) . Since the only way to get n = 3 n=3 is n = 2 + 1 n = 2+1 , N N must be of the form N = p 2 N=p^2 or square of a prime p p . For 100 N 999 100 \le N \le 999 , 10 p 31 10 \le p \le 31 and they are p = 11 , 13 , 17 , 19 , 23 , 29 , 31 p = 11, 13, 17, 19, 23, 29, 31 , 7 \boxed{7} of them.

Bonus: For n = 5 n=5 , again the only possible case is n = 4 + 1 n=4+1 ; and N = p 4 N = p^4 . For 10000 N 99999 10000 \le N \le 99999 , 10 p 17 10 \le p \le 17 . That is p = 11 , 13 , 17 p=11, 13, 17 . 3 solutions only.

Kabir Arora
Dec 30, 2017

Any number with an odd number of factors must be a square, because otherwise each factor has a complement that it is multiplied with to get the number.

Moreover, its square root will have exactly 3 factors. Which implies that the square root itself must be a perfect square.

Since the square root has 3 factors, square root of square root will have exactly two factors. Only prime numbers have exactly two factors.

So if a number has exactly five factors then it must be of the form p^4, where p is a prime number.

In order for p^4 to be a five digit number, p must be between 10 and 18. Hence, p = 11,13,17

There are three such numbers.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...