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 14:00
Describe the symmetry of the figure. identify lines of symmetry, if any. find the angle and the order of any rotational symmetry.
Answers: 2
question
Mathematics, 21.06.2019 15:20
Angle mno is s rotated 180 degrees counterclockwise about the origin to form angle m’n’o’. which statement shows the measure of angle m’n’o’?
Answers: 1
question
Mathematics, 21.06.2019 21:00
Rewrite the following quadratic functions in intercept or factored form. show your work. f(x) = 3x^2 - 12
Answers: 1
question
Mathematics, 21.06.2019 22:10
When is g(x) = 0 for the function g(x) = 5.23x + 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
question
Social Studies, 02.03.2021 18:40
question
Mathematics, 02.03.2021 18:40
question
Mathematics, 02.03.2021 18:40
question
Mathematics, 02.03.2021 18:40
question
Mathematics, 02.03.2021 18:40
question
English, 02.03.2021 18:40
Questions on the website: 13722367