SOLUTION: Show that gcd(a,gcd(b,c))=gcd(gcd(a,b),c) Ie show that gcd operator is associative

Algebra.Com
Question 864447: Show that gcd(a,gcd(b,c))=gcd(gcd(a,b),c)
Ie show that gcd operator is associative

Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!
We will use the fact that the minimal operator 
'min' is associative, that is,

min(x,min(y,z)) = min(min(x,y),z)

which is easy to prove since both sides can only be the 
minimal of the three numbers x, y and z.

Suppose the prime factorizations of a, b and c are

a = p1a1p2a2···pkak

b = p1b1p2b2···pkbk

c = p1g1p2g2···pkgk

Then

gcd(b,c) = p1min(b1,g1)p2min(b2,g2)···pkmin(bk,gk)

gcd(a,b) = p1min(a1,b1)p2min(a2,b2)···pkmin(ak,bk)

gcd(a,gcd(b,c)) = p1min(a1,min(b1,g1))p2min(a2,min(b2,g2))···pkmin(ak,min(bk,gk))

Now since the minimal operator 'min' is associative, 
the above is equal to

p1min(min(a1,b1),g1)p2min(min(a2,b2),g2)···pkmin(min(ak,bk),gk)

which is equal to

gcd(gcd(a,b),c)

and the associativity of gcd is proved.

Edwin

RELATED QUESTIONS

How do i show for intergers a,b and c from which at most one is 0(zero):... (answered by venugopalramana)
Show for integers a,b and k that... (answered by venugopalramana)
How do i show for intergers a, b and k that gcd(a,b)= gcd(a,b+ka). Thank... (answered by venugopalramana)
Hello! I have problems proving that if {{{GCD (a, b) = 1}}} then {{{GCD (a * c, b) =... (answered by aaaaaaaa)
Show for intergers a,b and k that gcd(a,b)=gcd(a,b+ka). PLEASE NEED HELP WITH THIS... (answered by venugopalramana)
Given that a * b = 270 and GCD(a,b)=5, find LCM... (answered by jim_thompson5910)
Give the gcd(a,b) and integral linear combination of a and b a=30031 and b=12449 I... (answered by venugopalramana)
I do not even know where to start with this proof. Prove or disprove: let a, b, and c... (answered by ikleyn)
Greatest Common Divisors and Least Common Multiples I need help with this guys,... (answered by Alan3354)