$25$ colored dice

124 Views Asked by At

$25$ colored dice are thrown and their results are put at random at a square matrix $5\times 5$. Dice colors are as follows: $5$ Red, $5$ Blue, $5$ Yellow, $5$ Green and $5$ Orange.

25 colored dice

I am interested in calculating the following probabilities:

  1. The probability that a bar of length $3$ ($3$ consecutive dice of the same color), vertical or horizontal, appears somewhere in the grid.
  2. The probability that a bar of length $4$ ($4$ consecutive dice of the same color), vertical or horizontal, appears somewhere in the grid.
  3. The probability that a bar of length $5$ ($5$ consecutive dice of the same color), vertical or horizontal, appears somewhere in the grid.