KroneckerSymbol¶ Generalized Jacobi symbol. $ wo 'KroneckerSymbol[2, 7]' 1 It threads over either argument. $ wo 'KroneckerSymbol[2, {3, 5, 7}]' {-1, -1, 1}