fora=1,10,1doforb=1,10,1doforc=1,10,1doforn=3,10,1doifmath.pow(a,n)+math.pow(b,n)==math.pow(c,n)thenreturn{a,b,c,n}end-- this can never happen, but lua has no way of knowing thatendendendendreturn{'no solution'}
fora=1,10,1doforb=1,10,1doforc=1,10,1doforn=3,10,1doifmath.pow(a,n)+math.pow(b,n)==math.pow(c,n)thenreturn{a,b,c,n}end-- this can never happen, but lua has no way of knowing thatendendendendreturn{'no solution'}