for a in range(1,151): for b in range(a,151): for c in range(b,151): for d in range(c,151): for e in range(d,151): if a**5+b**5+c**5+d**5==e**5: print(a+b+c+d+e)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter