diophantine equationnth powers