JacobiSymbol
Usage
• JacobiSymbol[n, m] 给出Jacobi符号  .
Notes
• 积分数学函数(参见 A.3.10节).
• 对质数  , Jacobi符号减小到Legendre符号。Legendre符号等于  依赖于  是否是一个模  的二次余项。 • 参见 Mathematica 全书 : 节 3.2.4.
Further Examples
is not a quadratic residue modulo but is.
In[1]:=
|
Out[1]=
|
Here is confirmation.
In[2]:=
|
Out[2]=
|
|