Euler 27 solved - straightforward brute force over prime bs