The Chicken McNugget Theorem

GCDs and modular arithmetic build to the Frobenius result: for whole-number box sizes a,b > 1 with no common factor greater than 1, the largest number you cannot buy is ab - a - b.

Topics on this path

  1. Divisibility & Primes
  2. Euclidean Algorithm
  3. Modular Arithmetic
  4. Linear Congruences
  5. Chicken McNugget (Frobenius) Theorem