
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This assignment is related to Algorithms course. It was assigned by Avkash Muthukumarasamy at Aliah University. It includes: Diameter, Cluster, Low, Polynomial, Completeness, Reduction, Integer, Factorization, Independent, SuperComputer, Goal
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!

COS 423 Theory of Algorithms Spring 2005
Answer each problem below. This assignment is due Wednesday, April 6 at the beginning of lecture. Col- laboration is allowed (according to the rules specified in the handout). If you work with a group, be sure to clearly acknowledge the other members of your study group on the first page.
When proving NP-completeness, it helps a great deal to start the reduction from the “right” base problem. Your base problem must appear in the course materials - come to office hours if you want a hint.
Read Chapter 8 in Kleinberg-Tardos.
Factor: Given an integer x and an integer y ≤ x, does x have a prime factor less than y?
The integers x and y are represented in binary, so your reduction must be polynomial in the number of bits used to encode x and y. That is, the reduction should use O(nk^ ) time for some constant k, where n is the number of bits in the binary representation of x.
(a) P 6 = N P. (b) P 6 = N P , but there exists a polynomial-time algorithm for factoring integers. (c) P = N P , but there does not exist a polynomial-time algorithm for factoring integers. (d) P = N P , but the fastest polynomial-time algorithm (from an asymptotic viewpoint) to factor an n-bit integer takes Θ(n^1717 ) time. (e) Next week Alice proves P = N P , but her proof is so highly non-constructive that finding a polynomial-time algorithm for 3-Sat remains an open reserach question. (f) Next week Bob proves that the P = N P question cannot be resolved using the axioms of mathe- matics (e.g., Zermelo-Fraenkel set theory).