A decentralized network consists of primary verification nodes. A smart contract generates a total of encrypted tokens that must be distributed equally among these nodes. The leftover tokens that cannot be distributed equally are sent to a burn address. How many tokens will be sent to the burn address?
Cevap: 8 tokens
Cevap
8
The correct remainder when is divided by is . This is found by reducing the base to modulo , applying Fermat's Little Theorem to reduce the exponent to modulo , and computing .
Adım Adım Çözüm
Anahtar Kavram
Modular arithmetic, Fermat's Little Theorem, and negative remainders