How many positive integers less than 500 are the product of exactly two distinct (meaning different) primes, each of which is greater than 10?
I solved it by compuer program:
for (a = 10..500)
for (b = a + 1..500)
if a is prime and b is prime and a*b < 500 then count++
output(count)
output = 25