Bitcoin is the most amazing Mathematical Wonder or
Mathematical Miracle like Steve Wozniak said it once.
If you look at the below image you might see halving's block#, block reward and halving year. But the most interesting column in this is Binary (sats).
Let me explain why...
Many people still think that bitcoin's 21 million limit is somehow hard-coded in its source code as a "number". Yes it is set in the code but it's not set as a number or like traditionally you might assume something like
CONST INT BITCOIN_MAX_SUPPLY = 21,000,000, not it's not like that.
It's pure math and algorithm, you might be amazed if you did not know this before that 21 million limit is not set in the code anywhere. But it's the reward that "Binary (sats)" column shown below is the logic that is enforcing the 21 million bitcoin limit.
If you notice after each halving that the binary column is shirking, in C++ terms it's called shifting. Shift or right shift in binary is technically like dividing any number by 2. So after each halving reward is divided by two and that binary is making sure it's done in a style. If you don't know this already that bitcoin does not deal in floating points or decimal numbers but only integers, so for example on at 29'th halving if you see reward is reduced from 9 sats to 4 sats (instead of 4.5) it is rounded off thanks to binary for keeping it simple from 1001 to 100.
Anyway, I saw this tweet and thought of sharing it
https://twitter.com/Peer__2__Peer/status/1629844105277722625