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:30
Need now max recorded the heights of 500 male humans. he found that the heights were normally distributed around a mean of 177 centimeters. which statements about max’s data must be true? a) the median of max’s data is 250 b) more than half of the data points max recorded were 177 centimeters. c) a data point chosen at random is as likely to be above the mean as it is to be below the mean. d) every height within three standard deviations of the mean is equally likely to be chosen if a data point is selected at random.
Answers: 1
question
Mathematics, 21.06.2019 19:50
What is the distance between point a and b
Answers: 1
question
Mathematics, 22.06.2019 02:10
Susan is paying $0.30 per $100 on her $483,000 home in homeowners insurance annually. if her annual homeowners insurance premium is divided into twelve equal monthly installments to be included on each of her monthly mortgage payments of $2,128.00, what is her total monthly payment?
Answers: 2
question
Mathematics, 22.06.2019 05:00
Aline with a slope of -7 passes through the points (u,0) and (8,-7) what is the value of u?
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, 21.01.2021 20:40
question
Mathematics, 21.01.2021 20:40
question
Computers and Technology, 21.01.2021 20:40
Questions on the website: 13722367