Explanation
Given,
x+y+z=15, where x,y,z are non-negative integers and distinct.
First, total number of non-negative integer solutions of
x+y+z=15 is
(3−115+3−1)=(217)=136
Now subtract the cases where at least two variables are equal.
Case I: x=y
Then 2x+z=15⇒z=15−2x
Possible non-negative x values: x=0,1,2,3,4,5,6,7
⇒8 solutions
Similarly for y=z and x=z
Total =3×8=24
But cases where x=y=z are counted thrice.
x=y=z⇒3x=15⇒x=5
So, one such solution.
Hence, solutions with at least two equal variables:
24−2=22
Therefore, required number of distinct solutions:
136−22=114