06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

“mcs” — 2017/3/3 — 11:21 — page 358 — #366<br />

358<br />

Chapter 9<br />

Number Theory<br />

(k) If a b .mod .n// <strong>for</strong> a; b > 0, then c a c b .mod n/. true false<br />

(l) If a b .mod nm/, then a b .mod n/. true false<br />

(m) If gcd.m; n/ D 1, then<br />

Œa b .mod m/ AND a b .mod n/ iff Œa b .mod mn/ true false<br />

(n) If gcd.a; n/ D 1, then a n 1 1 .mod n/ true false<br />

(o) If a; b > 1, then<br />

[a has a inverse mod b iff b has an inverse mod a]. true false<br />

Problem 9.69.<br />

Find an integer k > 1 such that n and n k agree in their last three digits whenever n<br />

is divisible by neither 2 nor 5. Hint: Euler’s theorem.<br />

Problem 9.70.<br />

(a) Explain why . 12/ 482 has a multiplicative inverse modulo 175.<br />

(b) What is the value of .175/, where is Euler’s function?<br />

(c) Call a number from 0 to 174 powerful iff some positive power of the number<br />

is congruent to 1 modulo 175. What is the probability that a random number from<br />

0 to 174 is powerful?<br />

(d) What is the remainder of . 12/ 482 divided by 175?<br />

Problem 9.71. (a) Calculate the remainder of 35 86 divided by 29.<br />

(b) Part (a) implies that the remainder of 35 86 divided by 29 is not equal to 1. So<br />

there there must be a mistake in the following proof, where all the congruences are

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

Saved successfully!

Ooh no, something went wrong!