problem 4 brute force solution
problem 5 prime factos map solution