In How Many Ways can a Rectangle be Rectangled?

By Pablo Blanco, Robert Dougherty-Bliss, Natalya Ter-Saakov, and Doron Zeilberger


.pdf    .tex   

Posted: June 3, 2026


We teach the computer (in two different ways!) how to discover a "grammar" for the "language" of tilings a rectangular grid (of a fixed width but of any length) by rectangles, that enable fast and efficient enumeration of these tilings. More impressively, we use the same grammar to weight-enumerate them according to the number of tiles and the number of participating edges.

This paper was inspired by the Recto puzzles, composed by Prasanna Seshadri, that appeared (March-May 2026) in the New York Times Sunday magazine.
[ Here is a collage of some sample puzzles.]


Maple packages


Sample Input and Output for RectTile.txt

Sample Input and Output for Recto.txt


Articles of Doron Zeilberger

Pablo Blanco's Home Page

Robert Dougherty-Bliss's Home Page

Natalya Ter-Saakov's Home Page

Doron Zeilberger's Home Page