Euler 22 solution