D.12.3.8 Jacobi
Procedure from library
crypto.lib
(see
crypto_lib
).
Usage:
Jacobi(a,n);
Return:
the generalized Legendre symbol
Note:
if n is an odd prime then Jacobi(a,n)=0,1,-1 if n|a, a=x^2 mod n,else
Example:
User manual for
Singular
version 3-1-6, Dec 2012, generated by
texi2html
.