Blog
Showing 25–28 of 28 posts
Programming
Remainder of Negative Numbers: Why -7 mod 3 Is 2 or -1
The remainder of a negative number has two valid answers. Learn why -7 mod 3 gives 2 in Python and -1 in C, and how floored and truncated division set the sign.
Read More →
Arithmetic
How to Find the Remainder: 5 Methods With Worked Examples
The remainder is what stays behind after division. Learn 5 methods to find it by hand, on a calculator and in code, with the formula and worked examples.
Read More →
Arithmetic
Long Division With Remainders: Step-by-Step Method
Long division with remainders solved digit by digit. Learn the divide-multiply-subtract-bring down cycle, handle internal zeros, and check every answer.
Read More → Arithmetic
Remainder Shortcuts and Tricks: Find the Remainder Fast
Find the remainder quickly without long division. Learn the shortcuts for dividing by 2, 5, 9, 10 and 11, the power cycle trick and the bitwise method.
Read More →