# finish 5 problem

### PROBLEM ONE. WALKS IN GRAPHS OF K-KOOL STRINGS.

A 3-bit string is a string made up of 3 characters, each a 0 or a 1. Suppose you’d like to write out, in one string, all eight of the 3-bit strings in any convenient order.

For example, if you wrote out the 3-bit strings in the usual order starting with 000, 001, 010, . . . , you could concatenate them together to get a length 3 times 8 = 24 24-string that started 000001010. . . .

But you can get a shorter string containing all eight 3-bit strings by starting with 00010. . . . In which Now 000 is present as bits 1 through 3, and 001 is present as bits 2 through 4, and 010 is present as bits 3 through 5, . . . .

1. Say a string is 3-kool if it contains every 3-bit string as 3 consecutive bits somewhere in it. Find a 3-kool string of length 10, and explain why this is the minimum length for any string that is 3-kool.
2. Explain how any walk that includes every edge in the graph shown in Figure determines a string that is 3-kool. Find the walk in this graph that determines your 3-kool string from part 1.
3. Explain why a walk in the graph of Figure above that includes every every edge exactly once provides a minimum length 3-kool string.
4. The situation above generalizes to k >=2. Namely, for each k there is a digraph,
$B$

k, such that the nodes are V(

$B$

k)=

$\left\{$

0 , 1 } k, and any walk through

$B$

k that contains every edge exactly once determines a minimum length , (k+1)-kool bit-string. What is this minimum length?

5. Define the transitions of Bk. Verify that the in-degree and out-degree of every vertex is even, and that there is a positive path from any vertex to any other vertex (including itself) of length at most k.

### PROBLEM TWO.

Let x =21212121; y = 12121212: Use the Euclidean algorithm to find the GCD of x and y. Show all steps.

### PROBLEM THREE. THE BUG ON A RUG WITH SHAHRZAAD.

There is a bug on the edge of a 1-meter rug. The bug wants to cross to the other side of the rug. It crawls at 1 cm per second. However, at the end of each second, a malicious first-grader named Shahrzaad stretches the rug by 1 meter. Assume that her action is instantaneous and the rug stretches uniformly. Thus, here’s
what happens in the first few seconds:

• The bug walks 1 cm in the first second, so 99 cm remain ahead.
• Shahrzaad stretches the rug by 1 meter, which doubles its length. So now there are 2 cm behind the bug and 198 cm ahead.
• The bug walks another 1 cm in the next second, leaving 3 cm behind and 197 cm ahead.
• Then Shahrzaad strikes, stretching the rug from 2 meters to 3 meters. So there
are now 3 times 3/2 = 4.5 cm behind the bug and 197 *3/2= 295.5 cm ahead.
• The bug walks another 1 cm in the third second, and so on.

#### YOUR JOB IS TO DETERMINE THIS POOR BUG’S FATE.

(a) During second i , what fraction of the rug does the bug cross?
(b) Over the first n seconds, what fraction of the rug does the bug cross altogether?

$H$

n = 1 1 + 1 2 + 1 3 + . . . + 1 n
(c) Our currently known universe is thought to be about

$3$

10 10 light years in diameter.
How many universe diameters must the bug travel to get to the end of the rug?
(This distance is NOT the inflated distance caused by the stretching but only the actual walking done by the bug).

### PROBLEM FOUR. HT I WINS, TH II WINS, IF NOT REPEAT.

To determine which of two people gets a prize, a coin is flipped twice. If the flips are a Head and then a Tail, the first player wins. If the flips are a Tail and then a Head, the second player wins. However, if both coins land the same way, the flips don’t count and whole the process starts over.Assume that on each flip, a Head comes up with probability p, regardless of what happened on other flips.

• Use the four step method to find a simple formula for the probability that the first player wins.
• What is the probability that neither player wins?

Suggestions: The tree diagram and sample space are infinite, so you’re not going to finish drawing the tree. Try drawing only enough to see a pattern. Summing all the winning outcome probabilities directly is difficult. However, a neat trick solves this problem and many others.Hint: Let s be the sum of all winning outcome probabilities in the whole tree. Notice that you can write the sum of all the winning probabilities in certain subtrees as a function of s. Use this observation to write an equation in s and then solve.

### PROBLEM 5.

If we raise an irrational number to an irrational power, can the result be rational?
Show that it can by considering

$2$

2 and arguing by cases.(Note that

$2$

2is not rational, but …)

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

### Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.