If a and b are positive integers for which ab-6a+5b=14, what is the minimal possible value of |a-b|?
Using Simon's favorite factoring trick, we get (a-6)(b+5)=-16
If a is 4 and b 3, it satisfies the equation so the minimal value is 1.
:D