Casting out nines
Summary
Casting out nines is a method to check a computation with integers by the remainders modulo . It uses the fact that a natural number is congruent modulo to the sum of its decimal digits. To check , one compares the digit sum of with the product of the digit sums of and , all modulo . The same works for sums and differences.
Remarks
If the two results are not congruent modulo , the computation is wrong. If they are congruent, the computation can still be wrong. For example, an exchange of two digits in the result is not detected. The method works because of divisibility by 9 and the compatibility of congruences with addition and multiplication.
Explanations
L1 human
Check . The digit sums are and , so the product should be modulo . The digit sum of is , so the check passes. A wrong result such as has the digit sum , so the check finds the error.
What this node needs for W2
- edge defines in: at least one definition (0 of 1)
- edge instance_of in: at least two examples (0 of 2)
- edge not_instance_of in: at least one non-example (0 of 1)
- edge specializes both: the more general notions and the special cases (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
Sources
- Web https://en.wikipedia.org/wiki/Casting_out_nines, Checking calculations by casting out nines
What links here
No node links to this node yet.