subject
Mathematics, 30.07.2019 18:10 mikkilynnpeace1982

For each of the following sequences and "volumes, " decide whether the knapsack problem is superincreasing and how many solutions (if any) it has: (a) {2, 3, 7, 20, 35, 69}, v = 45: (b) {1, 2, 5, 9, 20, 49}, v = 73: (c) {1, 3, 7, 12, 22, 45}, v = 67: (d) {2, 3, 6, 11, 21, 40}, v = 39: (e) {4, 5, 10, 30, 50, 101}, v = 186: (f) {3, 5, 8, 15, 28, 60}, v = 43: the knapsack problem. given a set {v_i} of k positive integers and an integer v, find a k-bit integer n = (epsilon_k - 1 epsilon_k - 2 .. epsilon_1 epsilon_0)_2 (where the epsilon_i elementof {0, 1} are the binary digits of n) such sigma^k - 1_i = 0 epsilon_i v_i = v, if such an n exists. note that there may be no solution n or many solutions, or there might be a unique solution, depending on the k-tuple {v_i} and the integer v. a special case of the knapsack problem is the superincreasing knapsack problem. this is the case when the v_i, arranged in increasing order, have the property that each one is greater than the sum of all of the earlier v_i.

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 22.06.2019 00:00
The probability that a tutor will see 0, 1, 2, 3, or 4 students is given below determine the probability distribution's missing value.
Answers: 1
question
Mathematics, 22.06.2019 00:30
What is the geometric mean of 3 and 7? a) square root of 21 b) 2 square root of 6 c) 2 square root of 7 d) 21
Answers: 2
question
Mathematics, 22.06.2019 01:50
Thomas is using a drawing program to complete a construction. which construction could he be completing? two perpendicular lines are drawn. inscribing an equilateral triangle in a circle inscribing a square in a circle inscribing a regular pentagon in a circle inscribing a regular hexagon in a circle
Answers: 1
question
Mathematics, 22.06.2019 02:00
Need to finish my juan wants to build a greenhouse in his back yard. he needs to maximize the ratio of floor area to structure volume in order to provide the most room for plants while minimizing the area to be heated. find the description of the structure that best meets juanโ€™s criteria. a.) a hemisphere with a diameter of 12 feet b.) a cube with a side length of 12 feet c.) a cone with a diameter of 12 feet and a height of 10 feet d.) a square pyramid with a base side length of 12 feet and a height of 9 feet
Answers: 2
You know the right answer?
For each of the following sequences and "volumes, " decide whether the knapsack problem is superincr...
Questions
question
Mathematics, 22.10.2020 08:01
question
Mathematics, 22.10.2020 08:01
question
Mathematics, 22.10.2020 08:01
Questions on the website: 13722359