numtheory(deprecated)/mcombine - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : numtheory(deprecated)/mcombine

numtheory(deprecated)

  

mcombine

  

Chinese remaindering

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

mcombine(a, ra, b, rb)

Parameters

a, ra, b, rb

-

integers

Description

• 

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.

Examples

Important: The numtheory package has been deprecated.  Use the superseding command NumberTheory[ChineseRemainder] instead.

withnumtheory:

mcombine6,5,9,7

FAIL

(1)

mcombine7,4,11,5

60

(2)

See Also

chrem

NumberTheory[ChineseRemainder]