Project Euler #234: Semidivisible numbers