This is supposed to be a Inclusion-Exclusion problem.
We have $6^5=7776$ different results.
Now, with the Inclusion-Exclusion principle i resolve the number of solutions for the equation:
$d_1+d_2+d_3+d_4+d_5=20 , 1 \leq d_i \leq 6 ,\forall 1 \leq i \leq 5$
That, i think, is equivalent to resolve:
$d_1+d_2+d_3+d_4+d_5=15 , 0 \leq d_i \leq 5 ,\forall 1 \leq i \leq 5$
This is:
$\binom{19}{15}-\binom{5}{1} \binom{13}{9}+\binom{5}{2} \binom{7}{3}=651$
So mi answer is: $\frac{651}{7776}$.
However, the "correct answer" is: $\frac{116}{7776}$. Whats the problem with mi reasoning?
EDIT I found the solutions for my problem in the book, the result is: $\frac{651}{7776}$.
I was right, but the solution from mi teacher was wrong. Thats why the confusion.
You can calculate this by finding the coefficient on $x^{20}$ in the polynomial $$ \left(\frac{1}{6}x+\frac{1}{6}x^2+\frac{1}{6}x^3+\frac{1}{6}x^4+\frac{1}{6}x^5+\frac{1}{6}x^6 \right)^5 $$ Using PARI/GP, I get that this polynomial is $$\frac{1}{7776} x^{30} + \frac{5}{7776} x^{29} + \frac{5}{2592} x^{28} + \frac{35}{7776} x^{27} + \frac{35}{3888} x^{26} + \frac{7}{432} x^{25} + \frac{205}{7776} x^{24} + \frac{305}{7776} x^{23} + \frac{35}{648} x^{22} + \frac{5}{72} x^{21} + \frac{217}{2592} x^{20} + \frac{245}{2592} x^{19} + \frac{65}{648} x^{18} + \frac{65}{648} x^{17} + \frac{245}{2592} x^{16} + \frac{217}{2592} x^{15} + \frac{5}{72} x^{14} + \frac{35}{648} x^{13} + \frac{305}{7776} x^{12} + \frac{205}{7776} x^{11} + \frac{7}{432} x^{10} + \frac{35}{3888} x^9 + \frac{35}{7776} x^8 + \frac{5}{2592} x^7 + \frac{5}{7776} x^6 + \frac{1}{7776} x^5 $$ This shows that your value, $\frac{651}{7776}=\frac{217}{2592}$ is correct.