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 12:30
Marie drew the triangle shown. she wants to draw a second triangle that is different from this one. use the drop-down menus below to complete the statements about the second triangle.
Answers: 1
question
Mathematics, 21.06.2019 16:30
Which approach to the theory-and-research cycle does the following sequence reflect: (1) specific observations suggest generalizations, (2) generalizations produce a tentative theory, (3) the theory is tested through the formation of hypotheses, and (4) hypotheses may provide suggestions for additional observations?
Answers: 1
question
Mathematics, 21.06.2019 17:30
Based on the figures as marked, /\rqs = —
Answers: 1
question
Mathematics, 21.06.2019 20:30
Venita is sewing new curtains. the table below shows the relationship between the number of stitches in a row and the length ofthe row.sewingnumber of stitches length (cm)51 131532024306what is the relationship between the number of stitches and the length? othe number of stitches istimes the length.o. the number of stitches is 3 times the length.
Answers: 2
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: 13722361