http://victor1234.livejournal.com/ ([identity profile] victor1234.livejournal.com) wrote in [personal profile] sly2m 2017-01-05 10:47 am (UTC)

А на современных компах быстро не посчитаешь даже по известному диапазону. Кроме разве что такого читеризма:

for i=7:1:37
for j=i:1:94
for k=j:1:120
for l=k:1:143
for m=l:1:144
if (i^5+j^5+k^5+l^5-m^5==0)
res=[i,j,k,l,m]
break
end
end
end
end
end
end

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting