subject
Mathematics, 28.11.2019 01:31 hHRS3607

Consider bit strings with length l and weight k (so strings of 1 0's and 1's, including k 1's). we know how to count the number of these for a fixed l and k. now, we will count the number of strings for which the sum of the length and the weight is fixed. for example, let's count all the bit strings for which 1+k 11.
a. find examples of these strings of different lengths. what is the longest string possible? what is the shortest?
b. how many strings are there of each of these lengths. use this to count the total number of strings (with sum 11)
c. the other approach: letn pvary. how many strings have sum n 1? how many have sum n 2? and so on. find and explain a recurrence relation for the sequence (an) which gives the number of strings with sum n.
d. describe what you have found above in terms of pascal's triangle. what pattern have you discovered?

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 16:30
What is the difference between regular convex and concave polygons
Answers: 1
question
Mathematics, 21.06.2019 19:00
In the figure below, ∠dec ≅ ∠dce, ∠b ≅ ∠f, and segment df is congruent to segment bd. point c is the point of intersection between segment ag and segment bd, while point e is the point of intersection between segment ag and segment df. the figure shows a polygon comprised of three triangles, abc, dec, and gfe. prove δabc ≅ δgfe.
Answers: 1
question
Mathematics, 21.06.2019 20:30
The sum of these consecutive integers is equal to 9 less than 4 times the least of the integer. find the three integers
Answers: 1
question
Mathematics, 21.06.2019 20:30
For g(x) = 5x - 3 and h(x) = [tex]\sqrt{x}[/tex], find (g · h)(4)
Answers: 1
You know the right answer?
Consider bit strings with length l and weight k (so strings of 1 0's and 1's, including k 1's). we k...
Questions
Questions on the website: 13722360