Linear Diophantine equation
Summary
A linear Diophantine equation in two unknowns is an equation with given integers , and . Its solutions are the pairs of integers that satisfy it. When and are not both , the equation has an integer solution if and only if divides . In this case, let and let be one solution. Then the solutions are the pairs with an integer.
Remarks
Bézout's identity gives the existence of a solution, and the extended Euclidean algorithm computes one. For example, has no integer solution, because does not divide . The equation is a special case of a Diophantine equation.
Explanations
L1 human
Ask whether you can pay with coins of value and , when you can also get coins back as change. Each amount that you can pay is a multiple of , and each such multiple is possible. For example, has the solution , .
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.
Sources
- Web https://en.wikipedia.org/wiki/Diophantine_equation, Linear Diophantine equations
What links here
No node links to this node yet.