0

while(n>1){ n = sqrt(n); }

Where sqrt returns the root of n. n = 2^k and k is a power of 2.

0 Answers0