A360213 Number of distinct stable marriage problem instances up to gender exchange.
1, 10, 23436, 55037822976, 309586821132441600000, 9704204980882671472665034752000000, 3411909590124519376908837990487929799751761920000000, 24394862766922609598505096548473341484170343775734092352694570188800000000
Offset: 1
Keywords
Examples
For order 2 we have A185141(2) = 16 instances that can be arranged in a 4 X 4 square with A000217(4) = (4 * 5) / 2 = 10 distinct instances up to gender exchange in the upper triangular region including the diagonal. So a(2) = 10.
Links
- Wikipedia, Stable Marriage Problem
Programs
-
Mathematica
Table[((n!)^n) * ((n!)^n + 1) / 2, {n, 1, 8}]
Comments