
Studirajte zahvaljujući brojnim resursima koji su dostupni na Docsity-u
Zaradite bodove pomažući drugim studentima ili ih kupite uz Premium plan
Ova stranica nije vidljiva u pregledu
Ne propustite važne delove!

Please turn in the solution of the following exercises in writing.
Exercise 13.1. Is the language {anbmckan^ | n ̸= m, m ̸= k} regular or not? Prove it.
Exercise 13.2. Fix a finite set S of size k. For an endomorphism φ : S → S, we denote by φc^ the composition of φ with itself c times. Show that the following language is in P :
{(φ, ψ, c) | φ = ψc^ where φ and ψ are endomorphisms of S and c is a binary integer}.
Exercise 13.3. Show that if P = N P then we can factorize integers in polynomial time.
Exercise 13.4. Let MAX-CLIQUE = {(G, k) | a largest clique in G is of size exactly k}. Show that MAX-CLIQUE is NP-hard.