College Algebra Exam Review 27

# College Algebra Exam Review 27 - 1.7 MODULAR ARITHMETIC...

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

1.7. MODULAR ARITHMETIC 37 1.6.13. (a) Write a program in your favorite programming language to com- pute the greatest common divisor of two nonzero integers, using the approach of repeated division with remainders. Get your pro- gram to explicitly give the greatest common divisor as an integer linear combination of the given nonzero integers. (b) Another method of finding the greatest common divisor would be to compute the prime factorizations of the two integers and then to take the largest collection of prime factors common to the two factorizations. This method is often taught in school math- ematics. How do the two methods compare in computational efficiency? 1.6.14. (a) Let I D I.n 1 ; n 2 ; : : : ; n k / D f m 1 n 1 C m 2 n 2 C : : : m k n k W m 1 ; : : : ; m k 2 Z g : Show that if x; y 2 I , then x C y 2 I and x 2 I . Show that if x 2 Z and a 2 I , then xa 2 I . (b) Show that g : c : d .n 1 ; n 2 ; : : : ; n k / is the smallest element of I \ N . 1.6.15. (a) Develop an algorithm to compute g : c : d .n 1 ; n 2 ; : : : ; n k / .
This is the end of the preview. Sign up to access the rest of the 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