Exponentiation by repeated squaring
[2/100%]Show
LaTeX
Problem 7.13 from Sipser M. "Introduction to the Theory of Computation" [Sip13]More problems in Section 7.2 "Problems"
Let
Show that . (Note that the most obvious algorithm doesn't run in polynomial time. Hint: Try it first where is a power of 2.)
?
Origin: Stated according to the original source
Problem 7.14 from Sipser M. "Introduction to the Theory of Computation" [Sip13]More problems in Section 7.2 "Problems"
A permutation on the set is a one-to-one, onto function on this set. When is a permutation, means the composition of with itself times. Let
Show that PERM-POWER . (Note that the most obvious algorithm doesn't run within polynomial time. Hint: First try it where is a power of 2.)
?
Origin: Stated according to the original source
References
[Sip13] Sipser M. Introduction to the Theory of Computation. 3rd ed., Cengage Learning, 2013.