Number Theory Puzzler: Proving N-S is a Multiple of 9

sizzlaw
Messages
2
Reaction score
0
Given: N is a four digit number. S is the sum of N's digits.

Prove: N minus S is a multiple of 9.
 
Physics news on Phys.org
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.
 
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.
 
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

x_110^{n-1}+...+x_n10^0=x_1+...+x_n~(mod~9).
 
The world of 2\times 2 complex matrices is very colorful. They form a Banach-algebra, they act on spinors, they contain the quaternions, SU(2), su(2), SL(2,\mathbb C), sl(2,\mathbb C). Furthermore, with the determinant as Euclidean or pseudo-Euclidean norm, isu(2) is a 3-dimensional Euclidean space, \mathbb RI\oplus isu(2) is a Minkowski space with signature (1,3), i\mathbb RI\oplus su(2) is a Minkowski space with signature (3,1), SU(2) is the double cover of SO(3), sl(2,\mathbb C) is the...