We consider the following problem: given a set of $N$ squares in the plan, what is the maximum number of ways they can overlap ?
Rules of construction:
- Two arrangements of squares are considered the same if one can be continuously changed to the other without any vertex passing through an edge.
- The squares can be re-scaled, rotated and translated but they must keep their square shape. They must be contained in a finite space and cannot be reduced to a point.
- A vertex cannot be superimposed with an edge or with another vertex.
- Turning the whole configuration over is allowed (mirror image) and doesn’t change the arrangement.
- The squares are drawn in an affine plane.
Surprisingly I didn’t find anything about this in the literature but maybe I didn't search well...
I tried to establish an isomorphism between the geometric objects and their algebraic representations in order to count them. Anytime I generate an arrangements (with a brute force algorithm) I calculate its algebraic representations and check if it's a new one.
Basically my method (For N=3) is to calculate 3 matrices:
- $V(i, j)$ = number of vertices from the square i included in the square j
- $F(i, j)$ = number of intersections found on the edge j of the square i
- $S(i, j)$ = index of the sub-polygon (in the arrangement formed by the 2 other squares) in which the vertex j of square i is included*
*The third matrix takes into account the sub-polygons created by the overlapping squares and a certain number of symmetry criterias in order to avoid counting the same arrangement several time.
I didn’t prove yet that my model create an isomorphic (for N=3) but I'm pretty sure it can be use to calculate a good lower bound.
So far I found $12$ arrangements for $N=2$ (visible below) and more than $4600$ for $N=3$. But I cannot make my algorithm converge for $N=3$ because I’m limited by the capacity of my computer...
Questions: Has this problem been already solved? Is it possible to find a formula expressing explicitly the number of arrangements possible for any value of $N$?

