{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# Then use your algorithm on some nonobvious numbers

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: divisors of m and r. What does this mean if r = 0. Is the theorem still true? Conclude as a corollary: gcd(m,n) = gcd (m,r). Note: As clarified in an email, the integers here refer to the 9 2. Answer: We want to show that any divisor of m and n is also a divisor of m and r and vice versa. Let d be a divisor of m and n. Than means for some integers a and b, m = da and n = db. But we have n = qm +r, so r = n =qm = da – qdb = d(a –qb), so r is divisible by d. And we already assumed that m is divisible by d. In the other direction, assume that d divides both m and r, so m = db and r = dc. Then n = qm + r = qdb+dc = d(qb+c), so n is divisible by d also. QED. Problem 9 4: Use the result of 9 ­3 for an algorithm to find the gcd of any tw...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern