In the recent days, you might have seen the calculation that leads to getting an exact value of 42, the answer of Life, the Universe and Everything. Let me copy it here, using the power of Perl 6 and its arbitrary precision arithmetics , not to mention the coolness of using superscripts directly in the code.
$ time perl6 -e'say 80435758145817515³ - 80538738812075974³ + 12602123297335631³'
One thought on “🦋 109. 42 via the cubes”