arithmetic
Casting out nines (digit-sum congruence mod 9)
intermediate
High weightage
CAT
XAT
NMAT
SNAP
CMAT
IIFT
MAT
N \equiv \sum_{j=0}^{m} d_j \pmod{9} \quad\text{where } N = \sum_{j=0}^{m} d_j\cdot 10^{j}This congruence states that an integer N, expressed in base 10 with digits each digit 0is congruent modulo 9 to the sum of its digits. Variables: N is an integer (units: count), are decimal digits, and m is the highest digit index. Intuition: 10 so powers 10^{j} \equiv 1^{j} = 1 therefore each place-value term \cdot 10^{j} reduces to mod 9, and summing yields digit-sum equivalence. Geometrically this is a modular collapse where base-10 weights disappear mod 9. Edge cases: a number divisible by 9 has digit-sum congruent to 0 mod 9; repeated digit-sum (digital root) gives final residue in [1,8] with 9 mapping to 0 (or 9 as digital root convention). Negative numbers follow similarly with sign. This is a quick checksum: if two numbers differ in their digit-sum modulo 9 they cannot be equal.