Question

Combinatorics Let n be a positive counting number, and consider words of length n using letters...

Combinatorics

Let n be a positive counting number, and consider words of length n using letters { 0 , 1 } . For example, 1011101 is such a word of length 7 , and 1001 is such a word of length 4 .

Let w(n) equal the number of words of length n with no adjacent zeros. For example, w(1) = 2 since there are two words of length 1 with no adjacent zeros: 0 and 1 . And, w(2) = 3 since there are three words of length 2 with no adjacent zeros: 01 , 10 , and 11 .

FIND w(5) and w(6)

Homework Answers

Answer #1

16

Consider the length n binary strings with no repeated zeros

string must end in a 0 or a 1. The number of string of length n that end in a 0 is equal to the number of such sequence of length n−2 (with 10 appended). The number of string of length n that end in a 1 is equal to the number of string of length n−1(with 1 appended).

Therefore, the number of string of length n is equal to the number of string of length n−1 plus the number of string of length n−2n Thus, the Fibonacci pattern. Fn=Fn−1+Fn−2

using above discussion

w(3)=w(1)+w(2)=2+3=5

w(4)=w(2)+w(3)=3+5=8

w(5)=w(3)+w(4)=8+5=13

w(6)=w(4)+w(5)=13+8=21

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Combinatorics Math: Let d(n,k) be the number of derangements of length n that consist of k...
Combinatorics Math: Let d(n,k) be the number of derangements of length n that consist of k cycles. Find a formula for d(n,k) in terms of signless Stirling numbers of the first kind.
1.) How many “words” are there of length 4, with distinct letters, from the letters {a,...
1.) How many “words” are there of length 4, with distinct letters, from the letters {a, b, c, d, e, f}, in which the letters appear in increasing order alphabetically. A word is any ordering of the six letters, not necessarily an English word. 2.) Prove that every graph has an even number of odd nodes.
Count the number of letters in your first name. Let this be the value for n....
Count the number of letters in your first name. Let this be the value for n. Count the number of letters in your last name. Let this be the mean. Now, give a data set with n values that have that mean. Explain how you chose your data set. For example, My first name has 7 letters, so n = 8. My last name has 9 letters, so the mean is 9. My data set is
For integer n ≥ 1, let h(n) be the number of length n words consisting of...
For integer n ≥ 1, let h(n) be the number of length n words consisting of A’s and B’s, that contain either at least an “AA”, or at least an “ABB”. Find a recurrence relation satisfied by h(n) (with necessary initial conditions) and solve it. (Previous answers to this question have been incorrect)
Let n be a positive integer, and let Hn denote the graph whose vertex set is...
Let n be a positive integer, and let Hn denote the graph whose vertex set is the set of all n-tuples with coordinates in {0, 1}, such that vertices u and v are adjacent if and only if they differ in one position. For example, if n = 3, then (0, 0, 1) and (0, 1, 1) are adjacent, but (0, 0, 0) and (0, 1, 1) are not. Answer the following with brief justification (formal proofs not necessary): a....
Let λ be a positive irrational real number. If n is a positive integer, choose by...
Let λ be a positive irrational real number. If n is a positive integer, choose by the Archimedean Property an integer k such that kλ ≤ n < (k + 1)λ. Let φ(n) = n − kλ. Prove that the set of all φ(n), n > 0, is dense in the interval [0, λ]. (Hint: Examine the proof of the density of the rationals in the reals.)
1. (4 pts) Consider all bit strings of length six. a) How many begin with 01?...
1. (4 pts) Consider all bit strings of length six. a) How many begin with 01? b) How many begin with 01 and end with 10? c) How many begin with 01 or end with 10? d) How many have exactly three 1’s? 2. (8 pts) Suppose that a “word” is any string of six letters. Repeated letters are allowed. For our purposes, vowels are the letters a, e, i, o, and u. a) How many words are there? b)...
Find a recurrence relation for the number of bit sequences of length n with an even...
Find a recurrence relation for the number of bit sequences of length n with an even number of 0s. please give me an initial case. + (my question) Let An is denote the number of bit sequences of length n with an even number of 0s. A(1) = 1 because of "0" not "1"? A(2) = 2 but why? why only "11" and "00" are acceptable for this problem? "11,01,10,00" doesn't make sense?
Let an, for n≥1, be the number of strings of length n over {0,1,2,3}, allowing repetitions,...
Let an, for n≥1, be the number of strings of length n over {0,1,2,3}, allowing repetitions, suchthat no string contains a 3 to the right of a 0. Find a recurrence relation and initial condition(s) for an.
) Let α be a fixed positive real number, α > 0. For a sequence {xn},...
) Let α be a fixed positive real number, α > 0. For a sequence {xn}, let x1 > √ α, and define x2, x3, x4, · · · by the following recurrence relation xn+1 = 1 2 xn + α xn (a) Prove that {xn} decreases monotonically (in other words, xn+1 − xn ≤ 0 for all n). (b) Prove that {xn} is bounded from below. (Hint: use proof by induction to show xn > √ α for all...