help 'with count'

## help 'with count'

 Thu Jan 18 02:47:14 2018   by   jw Using the count function, I seem to be unable to find a count for two different kinds of die.  Example: if I am trying to find out my chance of rolling 3 or greater using two d6s I enter (count 3 =< 2d6) and everything works out fine (shows results for chances of rolling one 3 or< and two 3's or<.  But, if I change it to (count 3 =< d4 d6) the results show chances for rolling a one 3, two 3's, three 3's, and four 3's rather than one and two 3's (one d4 and one d6 being used).  As complex as this calculator is, I couldn't imagine that it cannot count using 2 different die types.  Am I not entering the single die types properly? Thu Jan 18 09:48:12 2018   by   Torben The problem is that Troll reads `count 3 <= d4 d6` as `count 3 <= (d4 d6)`, i.e it rolls d4 d6s and counts the number of threes.  If you want to see how many sixes there are when you roll one d4 and one d6, you have to write `count 3 <= {d4, d6}` Thu Jan 18 13:21:23 2018   by   jw Thank you so much!  I made some various attempts but never would've thought to use those funky parentheses!  Is there an equation list I can refer to in the future? Fri Jan 19 09:36:09 2018   by   Torben There is a link to a quick reference guide at the Troll page (near the bottom).  From this there is a link to a longer and more complete description.