How many numbers less than 100 have exactly 6 positive integer divisors ?
Details and Assumptions
1 and the number itself are also included in the divisors ....
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.
For having 6 divisors , number has to be of the form
p 5 or p 1 p 2 2 because then the number of divisors is (1+1)(2+1)=(5+1)=6 .... for this , p i are prime numbers.
There is only one number of the first form and it is 2 5
There are 15 numbers of the second form , as the prime which is squared can't be greater than 7 . Thus if p 2 = 2 then there are possibilities for p 1 as {3,5,7,11,13,17,19,23} hence 8 different numbers .
If p 2 = 3 then there are possibilities for p 1 as {2,5,7,11} hence 4 numbers.
If p 2 = 5 then p 1 can be {2,3} hence 2 numbers and for p 2 = 7 , p 1 = 2 .
Hence there are 1 + 8 + 4 + 2 + 1 = 1 6 such numbers