Each prime number, , has precisely two factors, 1 and . How many non-prime positive integers under 1000 have a prime number of factors?
Clarification:
For example, 4 is a non-prime positive integer under 1000 with 3 (which is a prime number) factors 1, 2, and 4.
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.
All integers can be written uniquely as the product of their prime factors:
n = A a × B b × C c × . . .
Where A , B , C , . . . are prime numbers, and a , b , c . . . ≥ 1 .
This number, n , has ( a + 1 ) ( b + 1 ) ( c + 1 ) . . . factors in total.
As a , b , c . . . ≥ 1 , ( a + 1 ) , ( b + 1 ) , ( c + 1 ) . . . ≥ 2 .
We can see from this that if a number has more than one prime factor it must have a composite number of factors, as its total number of factors will be the product of two or more numbers.
We are therefore looking for numbers with only one prime factor, i.e. n = p y , where p is a prime, and y ≥ 2 , as the question excludes prime numbers.
These numbers, n = p y , have y + 1 factors.
We are therefore looking for primes raised to powers which are one less than a prime number, eg. 2 , 4 , 6 , 1 0 . . . . The result of this must also be less than 1 0 0 0 :
From this table, we can see that our answer is 1 6 non-prime numbers below 1 0 0 0 with a prime number of factors.