How to Use
Enter coefficients:
- a, b, c: Integer coefficients
- gcd: Solvability check
- Solution: x, y parameterized by t
Algorithm
Extended Euclidean: gcd(a,b) = ax₀+by₀. If d=gcd(a,b) divides c, multiply by c/d. General solution adds multiples of (b/d, −a/d) to the particular solution.
Applications
- Coin problems (Chicken McNugget)
- Cryptography (RSA key generation)
- Number theory proofs
- Integer programming
Step-by-Step Instructions
- 1Enter a, b, c.
- 2Check if gcd(a,b)|c.
- 3Get particular solution.
- 4View general solution.
- 5Find specific solutions.