sympy
Solving a simple puzzle using SymPy
I came across this problem recently: It’s about a square that gets partitioned into rectangles of equal area (some sources call this "floorplan" ). One of the sides of these smaller rectangles is given and the problem asks for the area of the large square. It’s possible to build equations for: the known side of the small rectangle the smaller rectangle sides that add up to the same length of the large square side-length