• python@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    23 days ago

    I once spent 3 hours straight trying to figure out how to make 147 by only using 4 fours. Only to find out that my phone calculator doesn’t even have the required operator key to make it work.

    • ltxrtquq@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      22 days ago

      I’m not sure what rules you were using, but addition/subtraction and multiplication will only ever give you even numbers and 147 is odd. If you’re allowing division, then 4*37-(4/4).

      • python@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        22 days ago

        I was using a semi-standard set of Four Fours rules that allows Addition, Subtraction, Multiplication, Division, Concatenation (i.e. 44), Decimal points ( .4), Factorial, Square root and Exponentiation.

        The operand I was missing was the overline.