Started Euler problem 23.