Attempted Euler P7