<s>[INST] How many solutions does the equation $a + b + c = 10$ if $(1, 4, 5)$ and $(1, 5, 4)$ are not considered distinct? 
Question: What if we consider (1,4,5) and (1,5,4) as non-distinct possibilities, then what should we do?
$${{9}\choose{2}}-2\cdot\frac{{9}\choose{2}}{3}$$
 [/INST] Since $10$ is not a multiple of $3$, it is not possible for all three numbers to be the same.
However, it is possible for two numbers of the same.  Since each number is positive, the repeated number must be $1$, $2$, $3$, or $4$.  There are $\binom{3}{2}$ ways to choose the locations of the repeated number.  Choosing the repeated number determines the third number.  There are 
$$4\binom{3}{2} = 12$$
such ordered positive integer solutions of the equation $a + b + c = 10$.  We count each unordered solution of this type three times, depending on where the single number is located.
That leaves $36 - 12 = 24$ solutions of the equation $a + b + c = 10$ in which all three numbers are distinct.  Since $a, b, c$ can be arranged in $3! = 6$ ways, we count each unordered solution of this type $6$ times.
Hence, the number of unordered positive integer solutions to the equation 
$a + b + c = 10$ is 
$$\frac{12}{3} + \frac{24}{6} = 4 + 4 = 8$$
As a check, we list them.
$$\{1, 2, 7\}, \{1, 3, 6\}, \{1, 4, 5\}, \{2, 3, 5\}, \{1, 1, 8\}, \{2, 2, 6\}, \{3, 3, 4\}, \{2, 4, 4\}$$
</s>