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 16:30
An empty bucket is placed under a faucet dripping at a constant rate of 4 milliliters per minute. with the given information, which of these statements is a reasonable conclusion? a there will be 24 milliliters of water in the bucket after 16 hour. b there will be 60 milliliters of water in the bucket after 14 hour. c there will be 160 milliliters of water in the bucket after 20 minutes. d there will be 100 milliliters of water in the bucket after 40 minutes.
Answers: 1
question
Mathematics, 21.06.2019 16:50
Which of the following points is collinear with (-2,1) and (0,3)
Answers: 3
question
Mathematics, 21.06.2019 19:40
What is the slope of the line that contains the points (-2,1) and (0,-3)
Answers: 2
question
Mathematics, 21.06.2019 21:00
How do i put 3(x+7) in distributive property
Answers: 2
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
Questions on the website: 13722363