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 :
- If we multiplied out the entire numerator of before any divisions, we would lose all information about . Instead, we break the numerator into blocks of values, multiply each block together, divide each block by , and induct down.
- The circuit does not permit division by nonzero numbers, which is necessary to compute . Instead, we observe that , so we can replate the entire denominator by .
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 .