Algebraic Digit Extraction ideas

This is a solution to a special case of a problem discussed at the 2025 research workshop for version and the most significant digit.

Solution

The polynomial solves the problem for . By Lucas's Theorem, is the coefficient of in the base- representation of . Hence, is the remainder of .

There are a two important points to note when computing :

The bottleneck of computing is computing , which takes multiplictive depth .

To extend this strategy to all , we can instead use , which eliminates the term in the base- representation of . If we chain these in order from to , we can solve the general problem with multiplicative depth .