Module jacobi

Module jacobi 

Source

Functionsยง

jacobi
Jacobi returns the Jacobi symbol (x/y), either +1, -1, or 0. The y argument must be an odd integer.