A number having exactly 3 factors must be the square of a prime number.
Prime numbers whose squares are less than 1000 are 2,3,5,7,11,13,17,19,23,29, and 31 . The square of any prime number will have 3 factors. N=p2; the factors are 1,p, and p2. ∴ There are 11 such numbers which are less than 1000 .