Added solution to Euler's 30th problem