statement theorem
Chinese remainder theorem for non-coprime moduli
Statement
Let and be positive integers, and let and be integers. Let and . The system , has an integer solution if and only if . In this case, two solutions are congruent modulo .
Remarks
When , this is the Chinese remainder theorem for two moduli. The condition is necessary: a solution gives , since divides and . For moduli , the system has a solution if and only if for all . For example, and has the solutions . But and has no solution.
Explanations
L1 human
When the moduli share a factor , the two conditions both say something about modulo . They must agree there. If they agree, there is a solution, and it is unique modulo the lcm.
What this node needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 7 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Divisibility definition
- Congruence modulo n definition
- Greatest common divisor definition
- Least common multiple definition
- Coprime integers definition
- Chinese remainder theorem statement
- Chinese remainder theorem for non-coprime moduli statement
Sources
- Web https://en.wikipedia.org/wiki/Chinese_remainder_theorem, Generalization to non-coprime moduli
What links here
No node links to this node yet.