mudkip@lemdro.id to memes@lemmy.worldEnglish · 1 month ago123 + 456 = 123456files.catbox.moeimagemessage-square44linkfedilinkarrow-up1255arrow-down164
arrow-up1191arrow-down1image123 + 456 = 123456files.catbox.moemudkip@lemdro.id to memes@lemmy.worldEnglish · 1 month agomessage-square44linkfedilink
minus-square4am@lemmy.ziplinkfedilinkarrow-up4arrow-down2·1 month agoThat 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
minus-squareSnazz@lemmy.worldlinkfedilinkarrow-up6·1 month agoBase-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.
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
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.