This question comes from Bertsekas' Introduction to probability, 2nd ed.
A six-sided die is rolled three times independently. Which is more likely: a sum of 11 or a sum of 12?
I understand the solution 100%, but I am wondering if there is an efficient way to enumerate all the combinations; indeed the solution just lists them without going into how to obtain them.
I had to do it case by case, ie exhaust all possibilities of numbers in the 1st roll. e.g. Beginning with the first roll have a 1, I will enumerate all combinations of $1+x+y$ ($x$ being the 2nd roll and likewise for $y$) such that the total is 11...keep doing this all the way till the first roll is 6.
But this is a very inefficient way to do it, is there a better way of doing it?


As I understand it, the question is not to calculate the probabilities, but simply to determine which is more likely, $11$ or $12$. Let $X$, $Y$, and $Z$ denote the result of the first, second, and third roll.
If $6\le X+Y\le10$, there is one way to make a total of $11$ with the third roll, and one way to make a total of $12$; even chances, as we are assuming a fair die.
If $X+Y\le4$ or $X+Y=12$, there is no way to make a total of $11$ or $12$.
If $X+Y=5$, there is one way to make $11$, no way to make $12$; if $X+Y=11$, there is one way to make $12$, no way to make $11$. So the question boils down to: which is a more likely total with two dice rolls, $5$ or $11$? There are $4$ ways to make $5$ but only $2$ ways to make $11$ with two rolls, so $5$ is a more likely total than $11$ with two rolls, so $11$ is a more likely total than $12$ with three rolls.