Number minus sum of digits is dividable by 9

  • Context: High School 
  • Thread starter Thread starter dumbperson
  • Start date Start date
  • Tags Tags
    Sum Sum of digits
Click For Summary

Discussion Overview

The discussion centers around the mathematical property that a number minus the sum of its digits is divisible by 9. Participants explore this concept through various mathematical perspectives, including positional notation and divisibility tests, while also introducing related observations about digit sums in arithmetic operations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant questions why subtracting the sum of the digits from a number results in a value divisible by 9.
  • Another participant explains this property using positional notation, suggesting that the relationship is trivial when understood correctly.
  • A correction is made regarding a mathematical expression, emphasizing that the result is a multiple of 9.
  • Participants discuss various divisibility tests, noting that a number is divisible by 9 if the sum of its digits is divisible by 9.
  • One participant introduces a new observation about digit sums in addition, subtraction, multiplication, and division, claiming a consistent relationship across operations.
  • Another participant identifies this observation as "casting out nines," acknowledging its historical context and expressing a desire for a simplified explanation.
  • A participant shares a formula for calculating the sum of the digits of a number, linking it back to the original discussion about divisibility by 9.

Areas of Agreement / Disagreement

Participants express a mix of agreement and disagreement regarding the explanations and observations presented. While some concepts, such as the divisibility rule for 9, are generally accepted, the introduction of new observations about digit sums leads to varied interpretations and no clear consensus.

Contextual Notes

Some participants' claims about digit sums and their relationships may depend on specific definitions or assumptions that are not fully articulated in the discussion. The mathematical steps involved in some arguments remain unresolved.

Who May Find This Useful

This discussion may be of interest to those exploring number theory, divisibility rules, and properties of digit sums in arithmetic operations.

dumbperson
Messages
77
Reaction score
0
Hello!
Why is it so, that if you have a number, for example 183, you take the sum of the digits of that number, so 183-(1+8+3), u get a number that is always dividable by 9?

I'm sorry if this is a dumb question, I'm not very good at math but still curious to know.
 
Last edited:
Mathematics news on Phys.org
You might find it interesting to look into the concept of positional notation. This kind of problem is trivial if you think about the underlying number system:

100a +10b + c -a -b -c = 99a - 9b = 9(9a -b)
 
Phinds meant 9(11a -b), but the major point is that this is a multiple of 9.
 
gb7nash said:
Phinds meant 9(11a -b), but the major point is that this is a multiple of 9.

HA ... it was so simple, I screwed it up. :-p

Actually, my point was not that this is a multiple of 9, that's trivial. My point is that if you understand positional notion then most such "problems" are trivial.
 
You may be interested to know that there are a wide variety of divisibility tests which are easily proven using positional notation and modular arithmetic as phinds has mentioned. This particular question is a consequence of the divisibility test for 9:

A number is divisible by 9 if and only if the sum of its digits is.

You can search for similar divisibility tests, the test for 11 is quite interesting for example,

A number is divisible by 11 if and only if the alternating sum of its digits is.

So take for example 2816 and add the digits in alternating order 2 - 8 + 1 - 6 = -11 which is divisible by 11. So that means the original number is also.
 
I have just stumbled upon something fascinating about addition, subtraction, multiplication and division of digitsums and was searching the net to see if someone else has already discovered this. The best I could find on this topic, was this forum, so maybe someone here can tell me, if this is indeed a new discovery:

I discovered that the most simplified (i.e. single digit) digitsum of any number obtained through summation, will ALWAYS be equal to the sum of the simplified digitsums of the individual terms. For example 15+37+26 = 78. The digitsum of 78 is 15 (7+8) and the digitsum of 15 is 6 (1+5).

Now for the individual terms: 6 (digitsum of 15) + 1 (digitsum of 10) + 8 (digitsum of 26) = 15, of which the digitsum is again 6 ! This holds for ANY summation, regardless of the number of digits per term.

The second discovery was that the same holds true for subtraction multiplication and division. With multiplication for example, the digitsums of the terms are just multiplied instead of added. For example 15x37x26=14430. The digitsum of 14430 is 12 and 1+2 is 3.

Now 6x10x8=480, of which the digitsum is also 12 with 1+2 again being 3 !

The only practical use for this phenomenon would have been as a form of "parity" checking in the days before calculators. For example in the case of a lenghty addition sum, if the digitsum of your end result did not match the sum of the digitsums of all the individual terms, it would have meant that your answer was faulty.

It would be nice if someone could come up with a formula explaining this phenomenon.
 
That's called "casting out nines" and works for exactly the reason phinds explained in post #2.
 
HallsofIvy said:
That's called "casting out nines" and works for exactly the reason phinds explained in post #2.

Cool, thanks, now I know what it is called. Should have known there's nothing new under the sun. If only I had lived a few centuries earlier :) Personally I think my method is a much simplified version though, although it regrettably obscures the mechanics behind it.
 
I found an answer!
I have the explanation in at the bottom of another thread. https://www.physicsforums.com/showthread.php?p=4315410#post4315410

The formula for finding the sum of the digits of a number, x, is http://latex.codecogs.com/gif.latex?x%20-%209\sum_{n=1}^{\infty}{\left%20\lfloor%20\frac{x}{10^n}%20\right%20\rfloor}

which is pretty much "x - 9*(maths)"
When you take x minus that, you're just left with 9*(maths).
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K