Answer to Question 16B-1

Yes, it works. In the second case, it uses the fact that xk = (x2)k/2.