sizzlaw Messages 2 Reaction score 0 Thread starter Feb 23, 2011 #1 Given: N is a four digit number. S is the sum of N's digits. Prove: N minus S is a multiple of 9.
Goongyae Messages 70 Reaction score 0 Feb 23, 2011 #2 Call the four digits of N "abcd" Then N is (a * 1000 + b * 100 + c * 10 + d) And N - S = N - a - b - c - d = (a * 999 + b * 99 + c * 9) And (N - S)/9 is (a * 111 + b * 11 + c), which is an integer. Hence N-S is divisible by 9.
Call the four digits of N "abcd" Then N is (a * 1000 + b * 100 + c * 10 + d) And N - S = N - a - b - c - d = (a * 999 + b * 99 + c * 9) And (N - S)/9 is (a * 111 + b * 11 + c), which is an integer. Hence N-S is divisible by 9.
sizzlaw Messages 2 Reaction score 0 Feb 24, 2011 #3 Revised puzzler: Given: N is a four digit number. S is the sum of N's digits. Prove: The sum of the digits of (N - S) is divisible by 9.
Revised puzzler: Given: N is a four digit number. S is the sum of N's digits. Prove: The sum of the digits of (N - S) is divisible by 9.
micromass Staff Emeritus Science Advisor Homework Helper Insights Author Messages 22,170 Reaction score 3,335 Feb 24, 2011 #4 This follows easily from Goongyae's post, since a number is divisible by 9 if and only if the sum of it's digits is divisible by 9. This is real easy to prove: take x1...xn be an n-digit number, then [tex]x_110^{n-1}+...+x_n10^0=x_1+...+x_n~(mod~9)[/tex].
This follows easily from Goongyae's post, since a number is divisible by 9 if and only if the sum of it's digits is divisible by 9. This is real easy to prove: take x1...xn be an n-digit number, then [tex]x_110^{n-1}+...+x_n10^0=x_1+...+x_n~(mod~9)[/tex].