It's interesting that WA's answer shows that without requiring the variables to be not only integers, but also positive, there is not a unique solution. That suggests to me that there may not be a really nice shortcut, and discourages me from spending much time on it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.