Is the Formula for GCD in a Multiplicative System Valid?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 4K views
melmath
Messages
1
Reaction score
0
Here is my problem:

Prove or disprove: If gcd(m, n) = d, then the gcd(a, mn) = gcd(a,m) * gcd(a.n)/d.

I can seem to get it started, sort of, but it just does not seem to get anywhere. I know by definition d | m and d | n. Then arbitrary integers x and y can be used such that m = xd and n = yd. I can then have gcd(a, mn) = E. Then E | a and E | mn. I can do the same as I did for the other. But the last part of gcd(a,m) * gcd(a.n)/d is giving me a really rough time getting it to know how tie it all in. I have a lot of integers and letters and I think I am very lost at this point. Please help!

melmath
 
Last edited:
Physics news on Phys.org
Do you know the fundamental theorem of arithmetic which says that every number can be written uniquely as a product of primes? So we can write:

[tex]m = \prod _{i=1}^{\infty}p_i^{\mu _i},\ n = \prod _{i=1}^{\infty}p_i^{\nu _i}[/tex]

where pi is the ith prime, and the [itex]\mu _i,\, \nu _i[/itex] are eventually zero since m and n are finite numbers. Using the notation above, how would you express gcd(m,n)?
 
Last edited:
melmath said:
Then arbitrary integers x and y can be used such that m = xd and n = yd.

x and y are not aribtrary integers. x is m/d and y is n/d.

AKG's way is very useful, but it is also good to do it from the defining characteristics: the gcd of A and B is a the largest divisor of A and B. There is also another way of thinking about it: gcd(m,n) is the integer d such that m=dx, n=dy for some x,y and gcd(x,y)=1