Chapter 1: Q10E (page 48)
Show that if and if Divides
Short Answer
It is proved that if and divides then .
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 1: Q10E (page 48)
Show that if and if Divides
It is proved that if and divides then .
All the tools & learning materials you need for study success - in one app.
Get started for free
Give an efficient algorithm to compute the least common multiple of two n-bit numbers and , that is, the smallest number divisible by both and . What is the running time of your algorithm as a function of ?
On page 38, we claimed that since about a fraction of n-bit numbers are prime, on average it is sufficient to draw random n -bit numbers before hitting a prime. We now justify this rigorously. Suppose a particular coin has a probability p of coming up heads. How many times must you toss it, on average, before it comes up heads? (Hint: Method 1: start by showing that the correct expression is . Method 2: if E is the average number of coin tosses, show that ).
Show that
(Hint: To show an upper bound, compare with . To show a lower bound, compare it with ).
Starting from the definition of (namely, that divides ), justify the substitution rule ,and also the corresponding rule for multiplication.
Is the difference of a multiple of ?
What do you think about this solution?
We value your feedback to improve our textbook solutions.