Number Theory Euclidean Algorithm

MathSquareRoo
Messages
26
Reaction score
0

Homework Statement



Suppose that u, v ∈ Z and (u,v) = 1. If u | n and v | n, show that uv | n. Show that this is false if (u,v) ≠ 1.

Homework Equations



a | b if b=ac

3. The Attempt at a Solution

I understand this putting in numbers for u,v, and n but I don't know how to formally write it.
 
Physics news on Phys.org
Do you know a relation between the gcd and linear combinations of u and v?
 
Linear combination of u and v are equal to the gcd correct? And the gcd divides u and v I believe. I need help organizing all these ideas.
 
MathSquareRoo said:
Linear combination of u and v are equal to the gcd correct?
Not necessarily true for an arbitrary linear combination, but there exists at least one linear combination equal to the gcd.

And the gcd divides u and v I believe.
Certainly, gcd means greatest common divisor, so it's certainly a divisor.

OK, if we let d = the gcd, then you know there is a linear combination such that d = au + bv. Now you know that u divides n and v divides n, so how can you use that fact here?
 
So then au divides n and vb divides n?
 
MathSquareRoo said:
So then au divides n and vb divides n?

No, that isn't necessarily true. However, if u divides n, then n = ur for some integer r. And v divides n, so n = vs for some integer s. Now try using these facts.
 
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