JacobiSymbol

Jacobi symbol (WMA)


JacobiSymbol[a, n]

returns the Jacobi symbol (a/n).

IntegerPartitions
KroneckerSymbol