TOPICS
Search

Change-Making Problem


The change-making problem asks for the fewest coins of given denominations that make a specified nonnegative integer amount. Assume infinitely many coins of each denomination are available and the denominations are strictly increasing, starting at 1. The greedy algorithm repeatedly takes the largest coin that does not exceed the amount remaining. A system is orderly if the greedy algorithm uses the minimum number of coins for every amount (Van Cott and Zhang 2026).

An initial segment of the denomination list can be orderly or nonorderly independently of whether the full system is orderly. Van Cott and Zhang (2026) considered the pattern in which the first three prefixes and the full system are orderly, and every other prefix is nonorderly. Nistal (2026ab) proved that seven denominations cannot have this pattern and constructed examples for every length at least 11. The results were formalized in Lean with AI assistance.


See also

Coin Problem, Greedy Algorithm

Explore with Wolfram|Alpha

References

Nistal, J. "Van Cott-Zhang Prefix Patterns for Every Length at Least Eleven." Palomar Registry, Nov. 27, 2026a. https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-27-000001&version=1.Nistal, J. "Seven-Denomination Case of Van Cott-Zhang Conjecture 5.2(1)." Palomar Registry, Nov. 27, 2026b. https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-27-000034&version=1.Van Cott, C. A. and Zhang, Q. "The Change-Making Problem for Six Coin Values and Beyond." Disc. Math. 349, 114669, 2026. https://doi.org/10.1016/j.disc.2025.114669.

Cite this as:

Weisstein, Eric W. "Change-Making Problem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Change-MakingProblem.html

Subject classifications