subject
Mathematics, 11.04.2020 00:57 areyonalloyd

Consider bit strings with length l and weight k (so strings of l 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 l + 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: Let n = l + p vary. 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 patter have you discovered?

I'd really appreciate the help on solving this problem as there were no similar example problems in the book to even help me start this problem. Thank you!

Also some background information on this problem to hopefully help someone at least start answering this problem. For this problem we previously went over sequences such as recursive and closed. Also if they were arithmetic or geometric. The last chapter did cover binomial coefficients if that has some prevalence here.

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 19:00
Which statement best explains why ben uses the width hi to create the arc at j from point k
Answers: 2
question
Mathematics, 22.06.2019 00:30
$5400 is? invested, part of it at 11? % and part of it at 8? %. for a certain? year, the total yield is ? $522.00. how much was invested at each? rate?
Answers: 1
question
Mathematics, 22.06.2019 02:30
The product of (7x-2) and (20-3x)/4. when x=4
Answers: 1
question
Mathematics, 22.06.2019 03:00
Will give the box plots below show the math scores of students in two different classes: class a 55 72 75 89 95 class b 55 70 75 94 100 based on the box plots, which statement is correct? a: the median score of class a is greater than the median score of class b. b: the lower quartile of class a is greater than the lower quartile of class b. c: the upper quartile of class a is greater than the upper quartile of class b. d: the maximum score of class a is greater than the maximum score of class b.
Answers: 1
You know the right answer?
Consider bit strings with length l and weight k (so strings of l 0’s and 1’s, including k 1’s). We k...
Questions
question
Mathematics, 07.04.2020 23:24
Questions on the website: 13722367