![2x+2y+z=20\\ z=\dfrac{20}{2x+2y}\\ z=\dfrac{10}{x+y}](/tpl/images/0433/6727/270cc.png)
Now, for z to be an integer, the sum x+y must be a divisor of 10.
It has to be a positive divisor since z≥0. Also x≠y.
![x+y=1 \\ x=1-y\\ ](/tpl/images/0433/6727/8c131.png)
x≥0 and y≥0 so y can be equal to either 0 or 1. There are 2 solution in this case.
![x+y=2\\ x=2-y\\](/tpl/images/0433/6727/7ee13.png)
In this case, y can be equal to 0,1, or 2, but for y=1 ⇒ x=1, so there are two solutions.
![x+y=5\\ x=5-y](/tpl/images/0433/6727/a8c25.png)
y can be 0,1,2,3,4 or 5 - 6 solutions
![x+y=10\\ x=10-y](/tpl/images/0433/6727/16dcd.png)
y can be 0,1,2,3,4,5,6,7,8,9,10, but for y=5 ⇒ x=5, so 10 solutions.
2+2+6+10=20 solutions in total.