numlib::jacobi
-- Jacobi
symbolnumlib::jacobi
(a,m)
returns the Jacobi
symbol (a|m)
.
numlib::jacobi(a, m)
a |
- | an integer |
m |
- | an odd positive integer |
numlib::jacobi
(a,m)
returns a nonnegative
integer, or the function call with evaluated arguments if one of the
arguments is not a number.
numlib::legendre
,
numlib::isquadres
numlib::jacobi
returns an error if one of its
arguments evaluates to a number of wrong type.Computing the Jacobi symbol :
>> numlib::jacobi(222222, 304679)
-1
Computing the Jacobi-Symbol :
>> numlib::jacobi(222222, 324899)
1
Computing the Jacobi symbol :
>> numlib::jacobi(222222, 333333)
0
numlib::jacobi
doesn't use ifactor
.