Page 1 of 9 · Overview

Lesson 5 of 8 · Number Theory

Diophantine Equations

A Diophantine equation just means: solve for integers only. That single restriction changes everything — an equation with infinitely many real solutions might have none, one, or infinitely many integer solutions, and telling which requires nothing more exotic than gcd, which you already know from the previous lesson.

Mark your status for this lesson:

Learning objectives

  • Determine whether ax + by = c has integer solutions, using gcd(a,b).
  • Find one integer solution by search or back-substitution, and understand the general solution's structure.
  • Count the positive-integer solutions of a linear Diophantine equation.
  • Apply the Frobenius (Chicken McNugget) formula to find the largest unreachable value for two coprime denominations.