Dice probabilities
|
05-03-2024, 01:08 PM
Post: #36
|
|||
|
|||
RE: Dice probabilities
(05-02-2024 02:46 PM)John Keith Wrote: ... Now, typing 6 9 MNOM 14 GET will return your result. Code: function MNOM(m, n) -- ((x^m-1)/(x-1))^n coefficients lua> pprint(MNOM(3,5)) { 1, 5, 15, 30, 45, 51, 45, 30, 15, 5, 1 } lua> MNOM(6,9)[14] 145899 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)