solve euler 4