Project Euler 516 - 5-smooth totients

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

Note: My code takes around ~160s, ~40s with pypy