numtheory - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Number Theory : numtheory/mcombine

numtheory

  

mcombine

  

Chinese remaindering

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

mcombine(a, ra, b, rb)

Parameters

a, ra, b, rb

-

integers

Description

• 

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

withnumtheory:

mcombine6,5,9,7

FAIL

(1)

mcombine7,4,11,5

60

(2)

See Also

chrem

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam