latinsquare is a GAP package designed to generate and count Latin squares of order n. Latin squares are n × n grids filled with n distinct symbols, each occurring exactly once in each row and each column—a fundamental structure in combinatorics, design theory, and algebra. -
View it on GitHub