Euler187 work in progress