Number theory problem divisible

yeland404
Messages
23
Reaction score
0

Homework Statement



Prove that n ℂ Z+ is divisible by 3( respectively 9). to show that if and only if the sum of its digits is divisible by 3

Homework Equations





The Attempt at a Solution



so n= 3q, q>3 that n\equiv0 mod 3
n=X1* 10^n+ x2*10^n-1...Xn
so need to prove(x1+x2+...Xn)\equiv0 mod 3, the how to prove the next step
 
Physics news on Phys.org
yeland404 said:

Homework Statement



Prove that n ℂ Z+ is divisible by 3( respectively 9). to show that if and only if the sum of its digits is divisible by 3

Homework Equations





The Attempt at a Solution



so n= 3q, q>3 that n\equiv0 mod 3
n=X1* 10^n+ x2*10^n-1...Xn
so need to prove(x1+x2+...Xn)\equiv0 mod 3, the how to prove the next step

Show 10^k=1 mod 3.
 
and for extra credit, google "casting out nines" for a better explanation of why this works (the same theorem holds for the number 9, in fact, for the same reason).
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top