I have a grid and a set of tiles, and need to find the number of permutations for placing said tiles.
If I have a 3x3 grid and 9 tiles to place, then P = 9!
With 12 tiles P = 12!/(12-9)!
I think I've got that basic idea correct, right?
I'm getting lost as I change the rules...
If a space can be empty, does P =n!/(n-r)! + r^2 (r^2 because that's the number of ways tiles can be empty or full?)
What If a space can contain only one specific color (or be blank)?
And the final complication-- Given tiles of different colors; 4 blue, 4 red, 4 green, 4 yellow, if we only care about color, is this now a combination, not permutation? How is that calculated?
Appreciate any help. Been frying my brain and drawing little grids with filled in squares all over the place, it's been a long time since I thought about this stuff...
If I have a 3x3 grid and 9 tiles to place, then P = 9!
With 12 tiles P = 12!/(12-9)!
I think I've got that basic idea correct, right?
I'm getting lost as I change the rules...
If a space can be empty, does P =n!/(n-r)! + r^2 (r^2 because that's the number of ways tiles can be empty or full?)
What If a space can contain only one specific color (or be blank)?
And the final complication-- Given tiles of different colors; 4 blue, 4 red, 4 green, 4 yellow, if we only care about color, is this now a combination, not permutation? How is that calculated?
Appreciate any help. Been frying my brain and drawing little grids with filled in squares all over the place, it's been a long time since I thought about this stuff...