Okay, here's something I have been wondering about for a while.
Given a grid of A by B square tiles, there are [math]{AB \choose n}[/math] ways to distribute n markers on those tiles (each marker takes up 1 tile, not split between tiles. You can consider it a 2D binary array with n "true" values placed around). For convenience, we can call that matrix M.
Now, if we consider the sum of all the true values, we get a sum of n ([math]\sum M_{AB} = n[/math]).
Here's the question:
What if instead of just adding up the values with each "marker" being 1, each "marker" counted for the number of continuous* tiles it touched. (each block of tiles would count for the number of tiles in that block squared)
*continuous = orthoganally touching (no diagonals)
For example:
In a 4x5 array with six markers, like this:
_ _ X _ _
X _ X X _
_ _ _ _ _
_ X _ X _
you would get a "score" of 1+1+1+9=12 (3 singles and a triple)
so, assuming the markers are randomly distributed in the grid, what is the expected value of the score?
Given a grid of A by B square tiles, there are [math]{AB \choose n}[/math] ways to distribute n markers on those tiles (each marker takes up 1 tile, not split between tiles. You can consider it a 2D binary array with n "true" values placed around). For convenience, we can call that matrix M.
Now, if we consider the sum of all the true values, we get a sum of n ([math]\sum M_{AB} = n[/math]).
Here's the question:
What if instead of just adding up the values with each "marker" being 1, each "marker" counted for the number of continuous* tiles it touched. (each block of tiles would count for the number of tiles in that block squared)
*continuous = orthoganally touching (no diagonals)
For example:
In a 4x5 array with six markers, like this:
_ _ X _ _
X _ X X _
_ _ _ _ _
_ X _ X _
you would get a "score" of 1+1+1+9=12 (3 singles and a triple)
so, assuming the markers are randomly distributed in the grid, what is the expected value of the score?
Last edited: