Square root
From Elliptic Curve Crypto
Square roots over finite fields
Elements of finite fields that have square roots are known as quadratic residues.
Legendre symbols are computed by quadratic reciprocity with Jacobi symbols using an extended Euclidean algorithm to determine whether or not an element of a finite field has a square root.
Several variations on the general method exist [1].
Extracting square roots by hand
The grade-school arithmetic lesson long forgotten by most adults!
- Group the digits under the radical in pairs: . You will get one digit of result for each pair of digits under the radical. That is the original reason for the vinculum or bar commonly placed over the radical, to indicate that it is a problem to be worked out in the style of a long division.
- Start with the largest digit whose square does not exceed the leftmost digit or pair of digits under the radical.
- At each step, double the number you have written so far over the radical, append the next digit, the largest that will fit, multiplying by that same digit again and subtracting to calculate the residue, and then bring down the next pair of digits, as for long division.
The method [2][3] is based on the identity
- .
- ↑ Ebru Adiguzel-Goktas and Enver Ozdemir. “Square Root Computation In Finite Fields” arXiv preprint no. 2206.07145, 2022 https://arxiv.org/abs/2206.07145
- ↑ Wikihow: How to Calculate a Square Root by Hand: Method 2: Finding Square Roots Manually. https://www.wikihow.com/Calculate-a-Square-Root-by-Hand#Finding-Square-Roots-Manually
- ↑ Indeed: Career development: How To Calculate Square Root by Hand. https://www.indeed.com/career-advice/career-development/how-to-calculate-square-root