- galois.kronecker_symbol(a: int, n: int) int
Computes the Kronecker symbol \((\frac{a}{n})\).
The Kronecker symbol extends the Jacobi symbol for all \(n\).
See also
References¶
Algorithm 2.149 from https://cacr.uwaterloo.ca/hac/about/chap2.pdf
Computes the Kronecker symbol \((\frac{a}{n})\).
The Kronecker symbol extends the Jacobi symbol for all \(n\).
See also
References¶
Algorithm 2.149 from https://cacr.uwaterloo.ca/hac/about/chap2.pdf