* too slow impl. (O^2) of problem 3
* synced
* faster way to find max prime factor in the problem 3