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 [itex]\mathcal O(mn^2)[/itex] time (possibly [itex]\mathcal O(mn \log n)[/itex], 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.