OFFSET
1,3
COMMENTS
a(n) is the number of dihedral groups of order 2n with a fixed identity, or equivalently the number of reduced Latin squares of order 2n that can be viewed as the Cayley table of D_{2n}, by adding a border that matches the first row and column. The reduced Latin squares differ from each other by a permutation of their symbols. Two such Latin squares that differ by a permutation of their symbols have been called isoplanar by Bailey (1984), cited by Nilrat and Praeger (1988), cited by Denes and Keedwell (1991). Latin squares based on dihedral groups are of interest in the stable marriage problem, where Benjamin et al. (1995) exhibited such squares having many stable matchings when viewed as ranking matrices. Two isoplanar Latin squares generally produce a different number of stable matchings, so there is motivation to generate all symbol permutations to find the ones with the most stable matchings.
See comments in A002618 regarding automorphisms of dihedral groups by Ola Veshta and Yaghoub Sharifi. - Dan Eilers, Jun 08 2024
REFERENCES
Denes, J. and Keedwell, A. D. (1991) Latin Squares New Developments in the Theory and Applications. p. 98.
LINKS
R. A. Bailey, Quasi-Complete Latin Squares: Construction and Randomization, Journal of the Royal Statistical Society. Series B (Methodological) 46, no. 2 (1984): 330, 323-34.
A. T. Benjamin, C. Converse, and H. A. Krieger, Note. How do I marry thee? Let me count the ways, Discrete Appl. Math. 59 (1995) 285-292.
C. K. Nilrat and C. E. Prager, Complete latin squares: terraces for groups, Ars Combinatoria 24 (1988), 17-29.
Yaghoub Sharifi, Automorphisms of dihedral groups.
E. G. Thurber, Concerning the maximum number of stable matchings in the stable marriage problem, Discrete Mathematics Volume 248, Issue 1-3, 6 April 2002, 195-219.
FORMULA
a(1) = a(2) = 1; a(n>2) = (2*n-1)! / A002618(n). - Dan Eilers, Jun 08 2024
EXAMPLE
For n=3 the a(3)=20 isoplanar reduced Latin squares based on the dihedral group of order 6, in lexicographical order, are:
1) 2) 3) 4) 5)
1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6
2 1 4 3 6 5 2 1 4 3 6 5 2 1 4 3 6 5 2 1 4 3 6 5 2 1 5 6 3 4
3 5 1 6 2 4 3 5 6 2 4 1 3 6 1 5 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