Euler 19 solution