06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

“mcs” — 2017/3/3 — 11:21 — page 331 — #339<br />

9.13. References 331<br />

Let<br />

x WWD 17 88 31 5 37 2 59 1000<br />

y WWD 19 .922/ 37 12 53 3678 59 29 :<br />

(a) What is gcd.x; y/?<br />

(b) What is lcm.x; y/? (“lcm” is least common multiple.)<br />

Problem 9.5.<br />

Show that there is an integer x such that<br />

ax b .mod n/<br />

iff<br />

gcd.a; n/ j b:<br />

Problem 9.6.<br />

Prove that<br />

<strong>for</strong> all a; b 2 Z.<br />

gcd.a 5 ; b 5 / D gcd.a; b/ 5<br />

Class Problems<br />

Problem 9.7.<br />

Use the Euclidean Algorithm to prove that<br />

gcd.13a C 8b; 5a C 3b/ D gcd.a; b/:<br />

Problem 9.8.<br />

(a) Use the Pulverizer to find integers x; y such that<br />

x30 C y22 D gcd.30; 22/:<br />

(b) Now find integers x 0 ; y 0 with 0 y 0 < 30 such that<br />

x 0 30 C y 0 22 D gcd.30; 22/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!