Skip to main content

learn.howToCalculate

learn.whatIsHeading

The modulo operation finds the remainder when one number is divided by another. Written as a mod b, it's essential in number theory, cryptography, and computer science.

ସୂତ୍ର

a mod b = remainder of a ÷ b

ଷ୍ଟେପ୍-ଷ୍ଟେପ୍ ଗାଇଡ୍ |

  1. 1Divide a by b
  2. 2The remainder is the modulo result
  3. 3Result is always non-negative and less than b

ସମାଧାନ ହୋଇଥିବା ଉଦାହରଣ

ଇନପୁଟ୍
17 mod 5
ଫଳ
2
17 = 3 × 5 + 2

ଏଡ଼ାଇବା ଯୋଗ୍ୟ ସାଧାରଣ ଭୁଲ

  • Confusing modulo with division
  • Incorrect remainder calculation

ସେଟିଂ