A die is rolled $n$ times. What is the probability that the sum of the $n$ outcomes is equal to $s$?
I want to know whether there is a closed form solution to this question.
I was given to solve the specific case $n=4, s=8$ and that's not too difficult (the answer comes out to be $35/1296$). This made me wonder whether there is a clever way to derive a formula for the general case where we can just put in the values of $n$ and $s$ and it spits out the answer.
Of course this requires a formula to count the number of solutions to $$x_1+\dots +x_n=s$$ with the extra condition that $1\le x_i\le 6$. And I do not know whether there are neat closed forms for these types of questions.