So some of you may have noticed my algebra exam is tomorrow!
The question is: If [a]n=[1]n prove that gcd(a,n)=1.
Well I tried it one way. We know the above means the following: a≡1(modn). This is also written as 1≡a(modn)
Then the gcd of these are as follows:
gcd(a,n):=d
gcd(1,n):=d′.
At this point I thought d=d′ which is NOT the case as pointed out by roommate. but lets assume it does so I finished the proof as follows:
gcd(a,n)=gcd(1,n)
gcd(a,n)=1
but then obviously that's not the case (or is it). I then tried the following:
d=as+nt,s,t∈Z
d′=as′+nt′,s′,t′∈Z.
And now I'm stuck again :(
Answer
Yes, the GCDs are the same, but your argument shows a lot of confusion, as Bill points out. First, when you claim that d=d′, the problem is that you are simply asserting a result that is stronger than what you are trying to prove. You are trying to prove the simpler case that if a≡1(modn) then gcd(a,n)=1, and you are invoking the result that if a≡b(modn) then gcd(a,n)=gcd(b,n). That's more than what you want to prove, so you cannot simply assume it's true.
But really, think about [a]n=[1]n. That means that 1=a+kn for some integer k. That means that you can write 1 as a linear combination of a and n. That means that gcd(a,n) divides 1. That means...
No comments:
Post a Comment