Suppose you want a square root of , but only working modulo a prime . Mod , that's easy: . So solves .
Now raise the stakes: can you solve ? Mod ()? You could search by brute force, but there is a much sharper tool. Hensel lifting takes the solution you already have mod and repairs it into a solution mod , then mod , then mod — with the number of correct "digits" (in base ) roughly doubling at every step.
It is, quite literally, Newton's method transplanted from real numbers into the world of modular arithmetic — and it is one of the workhorses behind how computers factor polynomials and reason about numbers modulo prime powers.
Comments
Loading comments...