Professional Documents
Culture Documents
Problem: Comment
Problem: Comment
A permutation on the set {1, . . . , k} is a one-to-one, onto function on this set. When p is a permutation, pt means the composition of p with itself t times.
Let
Show that PERM-POWER ? P. (Note that the most obvious algorithm doesn’t run within polynomial time. Hint: First try it where t is a power of 2.)
Step-by-step solution
Step 1 of 2
A permutation on the set is a one-to-one, onto function on this set. If p is a permutation then says that the composition of p with itself
times.
Comment
Step 2 of 2
From this, compute where . By substituting j value, can be . It is easy to compute the permutation by
applying q on q itself. It takes steps to compute where each product requires steps. Finally, the value of is compared with p
which takes additional k steps. Thus, it can be said that .
Comment