Euler problem 84 solved