Skip to main content

All Questions

Filter by
Sorted by
Tagged with
11 votes
1 answer
420 views

The complexity of the leading fractional bit of a power of a rational number

On a mailing list (math-fun) that I subscribe to Dan Asimov asked what's the most efficient way to calculate the leading decimal digits (say 10 of them) of $(p/q)^n \bmod 1$ where $p$ and $q$ are ...
Victor Miller's user avatar