Project Euler 187 - Semiprimes

Official link: https://projecteuler.net/problem=187