All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is Casting out nines?

Definition 8.5 The Interview Book · Chapter 8 — Mental Arithmetic

Casting out nines checks an integer calculation by replacing each number with the remainder of its digit sum on division by 9, which is the number’s residue modulo 9, and checking that the calculation holds for the residues.

Read in context →