# Method for optimally packing a group of squares from (1 x 1) to (n x n) into a larger square?

As far as my investigation has gone, I can see that people have worked on the optimal way to pack incrementally larger squares into rectangles (page 2, .pdf), as well as the optimal ways to pack equal squares into a square. I have not, however, found a reasonable algorithm or method for packing incrementally larger (or smaller, depending on your point of view) squares into a larger square area. It feels similar to the first link, but with additional constraints on the rectangle container.

As an example of what I am asking about, I manually created a packing of a group of squares (1x1, 2x2, 3x3,...8x8) in a "square" container. Is this something that has been researched at all, or is it largely just a meaningless corner case (ha!) of packing squares into a rectangle?

Since I have just joined this stack, I cannot embed my image, but it can be found here: http://i.stack.imgur.com/sD7Jw.png