How it works
Binary search maintains lower and upper integer bounds until a² ≤ n < (a+1)².
Try an example
Nonnegative integer: 1000. The form starts with these values; change them to explore your own case.
Example result: 31
- Binary search for floor(sqrt(n)).
Learn more in Exact number theory and congruences.
Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.