Math 2.0

concept

Casting out nines

Summary

Casting out nines is a method to check a computation with integers by the remainders modulo 99. It uses the fact that a natural number is congruent modulo 99 to the sum of its decimal digits. To check a⋅b=ca \cdot b = c, one compares the digit sum of cc with the product of the digit sums of aa and bb, all modulo 99. The same works for sums and differences.

Remarks

If the two results are not congruent modulo 99, 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 46⋅37=170246 \cdot 37 = 1702. The digit sums are 10≡110 \equiv 1 and 10≡110 \equiv 1, so the product should be 1⋅1=11 \cdot 1 = 1 modulo 99. The digit sum of 17021702 is 10≡110 \equiv 1, so the check passes. A wrong result such as 17121712 has the digit sum 11≡211 \equiv 2, 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

  1. Web https://en.wikipedia.org/wiki/Casting_out_nines, Checking calculations by casting out nines