(Coins)Let $a,b$ be positive integers with $\gcd(a,b)=1$. Every integer greater than $ab-a-b$ is of the form $ax+by$ with nonnegative integers $x,y$, and $ab-a-b$ is not. In general, if $n,n+1,\dots,n+m-1$ are all representable with coins whose smallest value is $m$, then every integer at least $n$ is representable.
← Back to Problem 1112