3 proper 5
Find the number of positive integers from 1 to 99999 inclusive that have exactly \(3\) proper divisors.
Details and assumptions
If \(n\) is a positive integer, a proper divisor of \(n\) is an integer \(d\) such that \(1<d<n\) and \(d\) divides \(n\).
You may choose to read Divisors of an Integer.