what is the probability of getting a sum of 8 or 14 when rolling 3 dice simultaneously ?
"the other way would be to list out each option . the options for a sum of 8 : ( 6 , 1,1 ) has 3 options ie ( 6 , 1,1 ) , ( 1 , 6,1 ) , ( 1 , 1,6 ) ; ( 5 , 2,1 ) has 6 options , ( 4 , 3,1 ) has 6 options , ( 4 , 2,2 ) has 3 options , ( 3 , 3,2 ) has 3 options . we have 21 options to get 8 . the options for a sum of 14 : ( 6 , 4,4 ) has 3 options , ( 6 , 5,3 ) has 6 options , ( 6 , 6,2 ) has 3 options , ( 5 , 5,4 ) has 3 options . we have 15 options to get 14 . total : 21 + 15 = 36 / 216 = 1 / 6 . answer a ."
divide(const_2, choose(add(const_3, const_3), const_3))