Minimally Squared Rectangles

Divide a rectangle of size into the minimal number of squares. For a rectangle of size 17×19, the solution (with nine squares) is nontrivial to find. This Demonstration gives precalculated solutions for rectangles up to size 380×380.


  • [Snapshot]


Let represent the minimal number of squares for an rectangle. Conjecture: for all and .
These solutions were compiled in the mistaken belief that a counterexample would be found. So far, the conjecture holds true for . Solutions are found with a method involving Young tableaux; a single solution can require hours to find [1].
Some rectangles can be divided into squares of different sizes. These are known as perfect rectangles, and are much easier to find [2].
[1] B. Felgenhauer. "Filling Rectangles with Integer-Sided Squares." (Mar 17, 2013)
[2] S. Anderson. "Squaring.Net 2013." (Mar 26, 2013)
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.