What is Nostr?
BattleDwarfGimli /
npub1yjt…mr2j
2025-02-24 16:01:28

BattleDwarfGimli on Nostr: "So, how does binary work anyway?" The ones column can only contain 0 or 1 in it in ...

"So, how does binary work anyway?"

The ones column can only contain 0 or 1 in it in binary. (In contrast, the ones column in decimal notation can contain 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9 in it.)

Once the ones column is filled up, you need to start using the twos column. (Just like 9 + 1 requires you to move to the tens column and write 10 in decimal.)

So if you have 1 in binary, and you add 1. You have to express it as 10 but this means two.

That means:

1 * 21 + 0 * 20, i.e. "1 two plus 0 ones."

Just like in decimal notation 10 means

1 * 101 + 0 * 100, i.e. "1 ten plus 0 ones."

Similarly, when you need to add 7 and 1 in binary it looks like this:

111 + 1 = 1000

seven is 111 = (1 * 22) + (1 * 21) + (1 * 20), i.e. "1 four plus 1 two plus 1 one."

one is 1 = (1 * 20), i.e. "1 one."

eight is 1000 = (1 * 23) + (0 * 22) + (0 * 21) + (0 * 20), i.e. "1 eight plus 0 fours plus 0 twos plus 0 ones."

[cries, continues to be MathTarded.]
Author Public Key
npub1yjtph0qvrj83sfm76zpa8ffzw09dwptz8pefqyjy3jxsjlm8ledsuqmr2j