euler problem 29 	Distinct powers