Chapter 8: Q18E (page 281)
Show that if then the RSA cryptosystem (Section 1.4.2) can be broken in polynomial time.
Short Answer
It is proved that RSA can be broken in polynomial time when .
Chapter 8: Q18E (page 281)
Show that if then the RSA cryptosystem (Section 1.4.2) can be broken in polynomial time.
It is proved that RSA can be broken in polynomial time when .
All the tools & learning materials you need for study success - in one app.
Get started for freeOn page we saw that 3SATremainsNP-complete even when restricted to formulas in which each literal appears at most twice.
(a)Show that if each literal appears at mostonce,then the problem is solvable in polynomial time.
(b)Show that INDEPENDENT SET remains NP-complete even in the special case when all the nodes in the graph have degree at most .
Give a simple reduction from 3D MATCHING to SAT, and another from RUDRATA CYCLE to SAT.
(Hint: In the latter case you may use variables whose intuitive meaning is “vertex i is the j th vertex of the Hamilton cycle”; you then need to write clauses that express the constraints of the problem.)
Question: In an undirected graph , we say is a dominating set if every is either in D or adjacent to at least one member of D. In the DOMINATING SET problem, the input is a graph and a budget , and the aim is to find a dominating set in the graph of size at most , if one exists. Prove that this problem is NP-complete.
We are feeling experimental and want to create a new dish. There are various ingredients we can choose from and we’d like to use as many of them as possible, but some ingredients don’t go well with others. If there arepossible ingredients (numbered to ), we write down an matrix giving thediscordbetween any pair of ingredients. Thisdiscordis a real number between and , where means “they go together perfectly” and means “they really don’t go together.” Here’s an example matrix when there are five possible ingredients.
In this case, ingredients and go together pretty well whereasandclash badly. Notice that this matrix is necessarily symmetric; and that the diagonal entries are always . Any set of ingredients incurs apenaltywhich isthe sum of all discord values between pairs of ingredients.For instance, the set of ingredientsincurs a penalty of
.We want this penalty to be small.
EXPERIMENTAL CUISINE
Input:, the number of ingredients to choose from ;,the “ discord” matrix; some number
OUTPUT:The maximum number of ingredients we can choose with penalty .
Show that ifEXPERIMENTAL CUISINEis solvable in polynomial time, then so is 3SAT.
Search versus decision. Suppose you have a procedure which runs in polynomial time and tells you whether or not a graph has a Rudrata path. Show that you can use it to develop a polynomial-time algorithm for RUDRATA PATH (which returns the actual path, if it exists).
What do you think about this solution?
We value your feedback to improve our textbook solutions.