i didnt do that q. looked too long and dint have time...
wat about this one? 
How many whole no.s less than 2010 have exactly three factors?
THe numbers that have exactly three factors are exactly those that are the square of some prime.
e.g: 2^2=4, 3^2=9, 5^2=25...
In general one way to work out how many factors a number has is to use unique prime factorisation like this:
2^100 * 3^100 has how many factors?
well i can chose any number of the form 2^a * 3^b with a and b between 0 and 100. Thus there are 101*101 factors of this number. It follows from this method that only the squares of a prime have exactly 3 factors.
so i guess you just have to list all the prime numbers until u find one whose square is larger than 2010. (this last prime will be less than 50 because 2010<50^2, if that makes u feel any better).