排列與組合由 n 個相異物件不重複取 k 個,有序選取是排列,無序選取是組合。atlas-permutation-combination · canonical_mko排列與組合前置節點基本計數原理階乘