Post Reply 
Dice probabilities
05-01-2024, 08:45 PM (This post was last modified: 05-01-2024 08:49 PM by Thomas Klemm.)
Post: #33
RE: Dice probabilities
(05-01-2024 06:56 PM)John Keith Wrote:  Simpler than I thought using ADD instead of DOLIST.

It appears to be similar to my Post #5.

(05-01-2024 06:56 PM)John Keith Wrote:  And now a dumb question: Why can trinomial coefficients be used for any number of dice and faces per die? Are there cases where one may need tetranomial or higher order coefficients?

They can't. Member dm319 initially asked for dice like these:

[Image: s-l1600.jpg]

We list their faces as [0 0 1 1 2 2] and encode them as \(2x^2 + 2x + 2\).
But since the coefficients are all the same we can use \(x^2 + x + 1\) instead.

If however you use one of these:

[Image: 415339372_afe903cda1_b.jpg]

There are multiple possibilities for quadrinomial coefficients:
  • Tetrahedron: [1 2 3 4]
  • Octahedron: [1 1 2 2 3 3 4 4]
  • Dodecahedron: [1 1 1 2 2 2 3 3 3 4 4 4]
  • Icosahedron: [1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4]
All of them can be encoded with \(x^4 + x^3 + x^2 + x\).
Or then we rather use \(x^3 + x^2 + x + 1\) to match A008287.
Again this doesn't matter much as the coefficients are only shifted.

Check in Post #8 how "for extra fun (…) such a formula could be extended to rolling a pool of non-standard, mixed dice".
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Dice probabilities - dm319 - 04-29-2024, 04:23 PM
RE: Dice probabilities - Thomas Klemm - 04-29-2024, 04:55 PM
RE: Dice probabilities - Allen - 04-30-2024, 11:19 AM
RE: Dice probabilities - dm319 - 04-29-2024, 05:49 PM
RE: Dice probabilities - Thomas Klemm - 04-29-2024, 06:07 PM
RE: Dice probabilities - David Hayden - 04-30-2024, 07:30 PM
RE: Dice probabilities - Albert Chan - 04-30-2024, 08:26 PM
RE: Dice probabilities - dm319 - 04-30-2024, 09:57 PM
RE: Dice probabilities - dm319 - 04-29-2024, 07:14 PM
RE: Dice probabilities - Albert Chan - 04-29-2024, 09:22 PM
RE: Dice probabilities - dm319 - 04-30-2024, 10:07 PM
RE: Dice probabilities - Albert Chan - 05-01-2024, 11:14 AM
RE: Dice probabilities - dm319 - 04-29-2024, 07:22 PM
RE: Dice probabilities - Gil - 04-29-2024, 10:36 PM
RE: Dice probabilities - Thomas Klemm - 04-30-2024, 12:27 AM
RE: Dice probabilities - John Keith - 04-30-2024, 10:00 PM
RE: Dice probabilities - Thomas Klemm - 04-30-2024, 12:40 AM
RE: Dice probabilities - Thomas Klemm - 04-30-2024, 06:43 AM
RE: Dice probabilities - Thomas Klemm - 04-30-2024, 08:06 AM
RE: Dice probabilities - Albert Chan - 04-30-2024, 10:59 AM
RE: Dice probabilities - Dave Britten - 04-30-2024, 12:00 PM
RE: Dice probabilities - Thomas Klemm - 04-30-2024, 05:11 PM
RE: Dice probabilities - Dave Britten - 04-30-2024, 05:58 PM
RE: Dice probabilities - Thomas Klemm - 04-30-2024, 06:04 PM
RE: Dice probabilities - Thomas Klemm - 04-30-2024, 06:25 PM
RE: Dice probabilities - Dave Britten - 04-30-2024, 07:24 PM
RE: Dice probabilities - Thomas Klemm - 04-30-2024, 09:10 PM
RE: Dice probabilities - Thomas Klemm - 05-01-2024, 03:32 AM
RE: Dice probabilities - Thomas Klemm - 05-01-2024, 04:26 AM
RE: Dice probabilities - Thomas Klemm - 05-01-2024, 04:41 AM
RE: Dice probabilities - John Keith - 05-01-2024, 06:56 PM
RE: Dice probabilities - Thomas Klemm - 05-01-2024, 05:54 AM
RE: Dice probabilities - Thomas Klemm - 05-01-2024 08:45 PM
RE: Dice probabilities - John Keith - 05-02-2024, 02:46 PM
RE: Dice probabilities - Albert Chan - 05-03-2024, 01:08 PM
RE: Dice probabilities - Thomas Klemm - 05-03-2024, 01:20 AM



User(s) browsing this thread: 11 Guest(s)