Re:42 is found to be the sum of three cubes
by xelxebar on Saturday September 07, 2019 @07:19PM
(#20907342)
Nice! My go to calc is dc. If you're like me at all, then you might like to know that we can avoid the pipe usng the -e switch
$ dc -e '_80538738812075974 3^ 80435758145817515 3^+ 12602123297335631 3^+p'
echo '((-80538738812075974)^3)+(80435758145817515^3)+(12602123297335631^3)' | bc
echo '_80538738812075974 3 ^ 80435758145817515 3 ^ 12602123297335631 3 ^ + + p' | dc