1.4.2 Finding a Remainder when Dividing by 3, 9, etc…

In order to find divisibility with 3, you can sum up all the digits and see if that result is divisible by 3. Similarly, you can do the same thing with 9. Let’s look at two examples:

34952 ÷ 3 has what remainder?

  • Sum of the Digits: (3+4+9+5+2)=23(3 + 4 + 9 + 5 + 2) = 23
  • 23÷3=723 \div 3 = 7 with remainder 2.

112321 ÷ 9 has what remainder?

  • Sum of the Digits: (1+1+2+3+2+1)=10(1 + 1 + 2 + 3 + 2 + 1) = 10
  • 10÷9=110 \div 9 = 1 with remainder 1.

For some examples, you can employ faster methods by using modular techniques in order to get the results quicker (see Section 3.4 Modular Arithmetic). For example, if we were trying to see the remainder of 366699995 when dividing by 3, rather than summing up all the digits (which would be a hassle) and then seeing the remainder when that is divided by 3, you can look at each digit and figure out what it’s remainder is when dividing by 3 then summing those. So for our example:

366699995(0+0+0+0+0+0+0+0+2)2(mod3)366699995 \equiv (0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 2) \equiv 2 \pmod{3}

Therefore it leaves a remainder of 2.

Problem Set 1.4.2

24680÷9 remainder24680 \div 9 \text{ remainder}
6253178÷9 remainder6253178 \div 9 \text{ remainder}
2007÷9 remainder2007 \div 9 \text{ remainder}
13579÷9 remainder13579 \div 9 \text{ remainder}
2468÷9 remainder2468 \div 9 \text{ remainder}
Find largest k s.t. 3k7 is divisible by 3\text{Find largest } k \text{ s.t. } 3k7 \text{ is divisible by 3}