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?
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 an integer N = k = 1 ∏ m p k q k , where p k is a prime factor of N , then the number of positive factors of N is given by n = k = 1 ∏ m ( q k + 1 ) . Since the only way to get n = 3 is n = 2 + 1 , N must be of the form N = p 2 or square of a prime p . For 1 0 0 ≤ N ≤ 9 9 9 , 1 0 ≤ p ≤ 3 1 and they are p = 1 1 , 1 3 , 1 7 , 1 9 , 2 3 , 2 9 , 3 1 , 7 of them.
Bonus: For n = 5 , again the only possible case is n = 4 + 1 ; and N = p 4 . For 1 0 0 0 0 ≤ N ≤ 9 9 9 9 9 , 1 0 ≤ p ≤ 1 7 . That is p = 1 1 , 1 3 , 1 7 . 3 solutions only.