0

Given an positive even integer \$ n \$, output the set of "ways to pair up" the set \$ [1, n] \$. For example, with \$ n = 4 \$, we can pair up the set \$ \{1, 2, 3, 4\} \$ in these ways:
\$ \{\{1, 2\}, \{3, 4\}\} \$
\$ \{\{1, 3\}, \{2, 4\}\} \$
\$ \{\{1, 4\}, \{2, 3\}\} \$
This can more formal...