Proving Relatively Prime Property: Integers, gcd, and the Prime Divisor Problem

  • Thread starter Thread starter scottstapp
  • Start date Start date
  • Tags Tags
    Prime
scottstapp
Messages
40
Reaction score
0

Homework Statement


I have to prove the following:
Let a1,a2, ...,an be integers and set b=a1*a2*...*an. If c is a nonzero integer and c is relatively prime to each ak, then c and b are relatively prime.

Homework Equations



Definition of relatively prime: Let a and b be integers, not both zero. if gcd(a,b)=1 then a and b are relatively prime.

The Attempt at a Solution



1. Let a1,a2, ...,an be integers and let b=a1*a2*...*an. Suppose there exists a nonzero integer c where c is relatively prime to each ak.

2. By defn, gcd(c,ak)=1

I need help showing that the gcd(c,a1*a2)=1

Thanks
 
Last edited:
Physics news on Phys.org
You don't need to suppose the existence of c; it is given by hyphotesis.

The best way to do this is to use induction on n and the following result (sometimes called Euclides' lemma): if c|ab and gcd(c,a)=1, then c|b.

If you haven't covered this lemma, argue like this: if gcd(c,a1*a2)>1, then there must be a common prime divisor p > 1 of c and a1*a2; p cannot divide a1 (because then gcd(a1,c)>1), so it must divide a2 and gcd(c,a2) > 1, and this is also impossible.
 
I was just looking at Euclids Lemma actually and wondering how I would prove that c|ab? Is it because c is relatively prime with each a therefore it must divide ab?

Thank you for your help once again
 
Last edited:
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top