Skip to content

Add Solver For Linear Diophantine Equations #2742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rahulc29 opened this issue Oct 26, 2021 · 1 comment · Fixed by #2744
Closed

Add Solver For Linear Diophantine Equations #2742

rahulc29 opened this issue Oct 26, 2021 · 1 comment · Fixed by #2744
Assignees

Comments

@rahulc29
Copy link
Contributor

rahulc29 commented Oct 26, 2021

Linear Diophantine Equations Solver
Linear Diophantine Equations are of the form ax + by = c where the solutions (x, y) are integers.

Approach
There exists a standard algorithm to find any one solution of the Diophantine equation. This solution can then be transposed to yield all infinite solutions to the equation. This algorithm exploits the well-known Extended Euclidean Algorithm

Resources
For further information, please see :

  1. CP Algorithms Article
  2. Wikipedia Article on Extended Euclidean Algorithm
  3. Wikipedia Article On Linear Diophantine Equations
@rahulc29
Copy link
Contributor Author

I would like to work on this issue. Please assign it to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant