Prove that there are exactly
$$\displaystyle{\frac{(a-1)(b-1)}{2}}$$
positive integers that cannot be expressed in the form
$$ax\hspace{2pt}+\hspace{2pt}by$$
where $x$ and $y$ are non-negative integers, and $a, b$ are positive integers such that $\gcd(a,b) =1$.