Project Euler #241: Perfection Quotients