• 4am@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    7 hours ago

    That would be reverse run length encoding. Also, Base 1 is just zero, everything equals zero.

    123 = 000 = 0

    456 = 000 = 0

    123456 = 000000 = 0

    123 + 456 = 123456

    0 + 0 = 0

    69 + 420 = 42069

    • Snazz@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      11 minutes ago

      Base-n is a numeral positioning system where the value of each digit is n times the value of the dight directly to its right.

      We typically don’t let the maximum digit we use to be greater than or equal to n because then there would be multiple ways to express the same number.

      However when working with weird bases, sometimes it’s useful to forgo this convention.