For a given puzzle A
Arrange three numbers in order:
The block count
The smaller of the row and column count
The larger of the row and column count
This three integer sequence is a signature for A.
Call it the 3D signature.