%o2)                [4, 6, 3, 1, 7, 5, 8, 2]
</pre>
<div class=categorybox>

<p>Categories:&nbsp;&nbsp;<a href="maxima_107.html#Category_003a-Package-combinatorics">Package combinatorics</a>
</div>
</p>
</dd></dl>

<p><a name="perm_005fparity"></a>
<a name="Item_003a-perm_005fparity"></a>
</p><dl>
<dt><u>Function:</u> <b>perm_parity</b><i> (<var>p</var>)</i>
<a name="IDX1478"></a>
</dt>
<dd><p>Finds the parity of permutation <var>p</var>: 0 if the minimum number of
adjacent transpositions necessary to write