主題
Search

排列索引


一個排列 p 的索引定義為所有下標 j 的總和,使得 p_j>p_(j+1),對於 1<=j<=n。MacMahon (1960) 證明了大小為 n 且索引為 k 的排列的數量與恰好有 k 個逆序的排列數量相同 (Skiena 1990, p. 29)。排列索引可以計算為索引[p] 在 Wolfram Language 包中Combinatorica` .


另請參閱

排列

使用 探索

參考文獻

Knuth, D. E. The Art of Computer Programming, Vol. 3: Sorting and Searching, 2nd ed. 馬薩諸塞州雷丁: Addison-Wesley, 1998.MacMahon, P. A. Combinatory Analysis, 2 vols. 紐約: Chelsea, 1960.Skiena, S. Implementing Discrete Mathematics: Combinatorics and Graph Theory with Mathematica. 馬薩諸塞州雷丁: Addison-Wesley, 1990.

在 中被引用

排列索引

請這樣引用

Weisstein, Eric W. "Permutation Index." 來自 —— 資源。 https://mathworld.tw/PermutationIndex.html

主題分類