numtheory(deprecated)
mcombine
Chinese remaindering
Calling Sequence
Parameters
Description
Examples
mcombine(a, ra, b, rb)
a, ra, b, rb
-
integers
Important: The numtheory package has been deprecated. Use the superseding command NumberTheory[ChineseRemainder] instead.
The mcombine command computes an integer x such that x=ramoda and x=rbmodb, for a and b. If no integer x exists then it returns FAIL.
For a definition, see Chinese remainder theorem.
with⁡numtheory:
mcombine⁡6,5,9,7
FAIL
mcombine⁡7,4,11,5
60
See Also
chrem
NumberTheory[ChineseRemainder]
Download Help Document