Sum of Digits & Divisibility by 3: Explained

  • Context: High School 
  • Thread starter Thread starter Juwane
  • Start date Start date
  • Tags Tags
    Sum
Click For Summary
SUMMARY

The discussion clarifies that a number is divisible by 3 if the sum of its digits is divisible by 3, based on the property that 10 is congruent to 1 modulo 9. This principle holds true for numbers of any length, as demonstrated through long division and induction. The formal proof involves showing that numbers of the form 10^n - 1 are divisible by 3, leading to the conclusion that the divisibility of a number by 3 depends solely on the divisibility of the sum of its digits.

PREREQUISITES
  • Understanding of modular arithmetic, specifically modulo 9.
  • Familiarity with the concept of long division.
  • Basic knowledge of mathematical induction.
  • Ability to interpret decimal representations of numbers.
NEXT STEPS
  • Study modular arithmetic and its applications in number theory.
  • Learn about mathematical induction and its proofs.
  • Explore the properties of divisibility rules for other numbers, such as 9 and 11.
  • Investigate the relationship between digit sums and divisibility in various numeral systems.
USEFUL FOR

Mathematicians, educators, students studying number theory, and anyone interested in the principles of divisibility and modular arithmetic.

Juwane
Messages
86
Reaction score
0
Two questions:

1. We add the digits of any number. If the sum is divisible by 3, then that number is divisible by 3. Why?

2. Does this work for a number of more than 2 digits?
 
Physics news on Phys.org


Juwane said:
2. Does this work for a number of more than 2 digits?

Yes.

Juwane said:
1. We add the digits of any number. If the sum is divisible by 3, then that number is divisible by 3. Why?

Because 10 = 1 (mod 9).

Consider doing long division on a number:

__________
9) abcde...

Your first step will be to see if 9 goes into a. If it does, then the number is
abcde... = 9000... + bcde...
which is divisible by 9 exactly if bcde... is. Otherwise, see how many times 9 goes into ab (that is, 10a + b). Clearly at least a times, right? Then you'll write a above the bar and subtract 9a from 10a + b, which is a + b. But now you're just adding the digits up. You can continue this process, getting (a + b + c)de..., (a + b + c + d)e..., and so on. It's 'easy to see' that this works. A formal proof is by induction.
 


First prove by induction that every number of the form [tex]10^{n}-1[/tex] is divisible by 3. Then Notice that every number can be written via decimal representation:

[tex]x=\sum^{N}_{i=0}x_{i}10^{i}=\sum^{N}_{i=0}x_{i}+\sum^{N}_{i=0}x_{i}(10^{i}-1)[/tex]

The second sum is a number divisible by three (you've proven it), so the only remaining condition for x to be divisible by three is that the first sum is. But that's just saying the sum of the digits is divisible by three.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
17K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
4K