using Primes issemiprime(n::Integer) = sum(values(factor(n))) == 2 @show filter(issemiprime, 1:100)