Talk:Cut a rectangle: Difference between revisions

Content added Content deleted
Line 93: Line 93:
60 3 4</lang>
60 3 4</lang>


But 60 is the number of ways of dividing the rectangle in half -- with one corner guaranteed to always be classified the same way, and also with a guarantee that all cells classified that way are [transitively] contiguous with each other -- and I only want the options which are symmetric. To test symmetry, I rotate the bit matrix on each axis and then apply logical not to that result -- if that gives me my starting bit matrix, it's a solution that I want.
But 60 is the number of ways of dividing the rectangle in half -- with one corner guaranteed to always be classified the same way, and also with a guarantee that all cells classified that way are [transitively] contiguous with each other -- but I only want the options which are symmetric. To test symmetry, I rotate the bit matrix on each axis and then apply logical not to that result -- if that gives me my starting bit matrix, it's a solution that I want.


<lang j> N init 2 3
<lang j> N init 2 3