Modular Congruence and GCD Proof

  • Thread starter Thread starter Colleen G
  • Start date Start date
  • Tags Tags
    Gcd Proof
Colleen G
Messages
6
Reaction score
0

Homework Statement


If a≡b(mod n) and d=gcd(a.n), prove that d=gcd(b,n).[/B]

Homework Equations


If a≡b(mod n) → n|(a-b) → a-b =nk, for some k∈ℤ → a=nk+b
If d=gcd(a.n) → d=ax+ny
gcd(b,n)=d ↔ d|b and d|n, and if c|b and c|n, then c ≤ a.


The Attempt at a Solution


Since a=nk+b and d=ax+ny, then
d=(nk+b)x+ny
d=nkx+bx+ny
d=bx+n(kx+y)
d=bx+nw, where w=kx+y and w∈ℤ.

I have gotten this far. Originally I thought this was enough to prove d was the gcd of b and n. But now I see that I need to show d|b, d|n, and that if there is a c such that c|b and c|n, then c ≤ d.

Help!
 
Physics news on Phys.org
Colleen G said:

Homework Statement


If a≡b(mod n) and d=gcd(a.n), prove that d=gcd(b,n).[/B]

Homework Equations


If a≡b(mod n) → n|(a-b) → a-b =nk, for some k∈ℤ → a=nk+b
If d=gcd(a.n) → d=ax+ny
gcd(b,n)=d ↔ d|b and d|n, and if c|b and c|n, then c ≤ a.


The Attempt at a Solution


Since a=nk+b and d=ax+ny, then
d=(nk+b)x+ny
d=nkx+bx+ny
d=bx+n(kx+y)
d=bx+nw, where w=kx+y and w∈ℤ.

I have gotten this far. Originally I thought this was enough to prove d was the gcd of b and n. But now I see that I need to show d|b, d|n, and that if there is a c such that c|b and c|n, then c ≤ d.

Help!

It's pretty clear that if d|n and d|a then d|b, right? Show that. Now if there is a smaller c that also divides b and n, then it also must divide a and n, right? Show that. Put the two together.
 
Last edited:
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