DiceGame — http://community.topcoder.com/stat?c=problem_statement&pm=7601&rd=10673 I read the tutorial on basics on combinatorics(http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=combinatorics) where they introduce this problem and make a recurrence relation.What I didn't get was how they arrived to this recurrence relation?