How many different ordered triples are there such that $a+b+c = 50$ and $a\geq b\geq c\geq 0$? What if $a>b>c>0$? a,b, and c are all integers
I found this question from a textbook, but the author didn't give the answer so I don't know if my answers are correct, can anyone help me with this problem?
My answers:
if $a\geq b\geq c\geq 0$: $221$ possible triples
if $a>b>c>0$: $196$ possible triples
Thanks!
REVISITED BY CHANCE AND A SIMPLE ANSWER OFFERED
PART 1
All three numbers obviously can't be the same.
Of the $\binom{52}2 = 1326$ solutions given by stars and bars,
there will be $26\;\;$ with $\;\;2-1\;of\; a\; kind:\; 0-0-50\;\; to\;\; 25-25-0$
each with $3$ permutations So distinct triples with $6$ permutations each $= 1326 - 3*26 = 1248$
and final answer $= \frac{1248}6+26 =\boxed{234}$
PART TWO
This time, we want all three digits to be different.
There will be a total of $\binom{49}2 = 1176$ arrangements
of which this time $24$ will be $2-1\;\;of\;a\;kind$
and final answer = $(1176 -24*3)/6 = \boxed{184}$