This C program generates all the ways the twelve pentominos can fit into a rectangle.
Summary: 10×6: 2339 ways, 12×5: 1010 ways, 15×4: 368 ways, 20×3: 2 ways, totol: 3719 ways.
pentomino-rect.pdf - 20 page PDF (212KB)
pentomino-rect.txt - 28014 line text file (144KB)
pentomino-codes.txt - letters for the pentominos, all orientations (4KB)
pentomino-rect.tex - 149290 line LATEX file to generate the PDF (840KB)
pentomino-rect.c - the source code to generate the above files (4KB)
Makefile - to control the entire process (1KB)
Copyright © 2005–2013 Di-an Jan. All rights reserved.