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, 21.06.2019 18:00
Give all possible names for the line shown.calculation tip: lines can be written with either point first.
Answers: 1
question
Mathematics, 22.06.2019 01:00
Use mathematical induction to prove the statement is true for all positive integers n, or show why it is false. 1^2 + 4^2 + 7^2 + + (3n - 2)^2 = [n(6n^2-3n-1)/2]
Answers: 1
question
Mathematics, 22.06.2019 02:30
Aband wants to create a cd of their last concert. to creat the cds, the cost will be $350 advertisement fee plus $3 per cd.write an inequality that represents how many cds they can buy with a maximum of $1225.solve the inequality
Answers: 1
question
Mathematics, 22.06.2019 04:00
If the equation of a perpendicular bisector of a triangle is y = 2x + 7, what is the slope of the side that it is bisecting? explain how you know. 
Answers: 1
You know the right answer?
For each of the following sequences and "volumes, " decide whether the knapsack problem is superincr...
Questions
question
Mathematics, 17.03.2020 17:02