The minimal residue of
is the value b or
n | common residue | minimal residue |
0 | 0 | 0 |
1 | 1 | 1 |
2 | 2 | -2 |
3 | 3 | -1 |
The minimal residue is implemented in Mathematica as Mod[a, m, -m/2].
Common Residue, Congruence, Modulus, Residue
Eric W. Weisstein. "Minimal Residue."
From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/MinimalResidue.html
|
|||
|
|
© 1999 CRC Press LLC,
© 1999-2005 Wolfram Research, Inc.