Krypton
- 13
- 0
How to find the mth digit of 2^n
Krypton said:What do u ment by not at all ? Is it not at all possible? Or not atall imposible?
Ben Niehoff said:I found an algorithm to find the mth digit of 2^n in \mathcal O(mn^2) time (possibly \mathcal O(mn \log n), but I haven't proven it mathematically) using only integer additions (modulo 10). I don't know how this compares to CRGreathouse's suggestions above.