English

Adjacencies in Permutations

Discrete Mathematics 2016-01-19 v1

Abstract

A permutation on an alphabet Σ \Sigma , is a sequence where every element in Σ \Sigma occurs precisely once. Given a permutation π \pi = (π1\pi_{1} , π2 \pi_{2} , π3 \pi_{3} ,....., πn \pi_{n} ) over the alphabet Σ \Sigma ={\{ 0, 1, . . . , n-1 }\} the elements in two consecutive positions in π \pi e.g. πi \pi_{i} and πi+1 \pi_{i+1} are said to form an \emph{adjacency} if πi+1 \pi_{i+1} =πi \pi_{i} +1. The concept of adjacencies is widely used in computation. The set of permutations over Σ \Sigma forms a symmetric group, that we call Pn _{n} . The identity permutation, In _{n} \in Pn_{n} where In_{n} =(0,1,2,...,n-1) has exactly n - 1 adjacencies. Likewise, the reverse order permutation Rn(Pn)_{n} (\in P_{n})=(n-1, n-2, n-3, n-4, ...,0) has no adjacencies. We denote the set of permutations in Pn_{n} with exactly k adjacencies with Pn_{n} (k). We study variations of adjacency. % A transposition exchanges adjacent sublists; when one of the sublists is restricted to be a prefix (suffix) then one obtains a prefix (suffix) transposition. We call the operations: transpositions, prefix transpositions and suffix transpositions as block-moves. A particular type of adjacency and a particular block-move are closely related. In this article we compute the cardinalities of Pn_{n}(k) i.e. k \forall_k \mid Pn _{n} (k) \mid for each type of adjacency in O(n2)O(n^2) time. Given a particular adjacency and the corresponding block-move, we show that kPn(k)\forall_{k} \mid P_{n}(k)\mid and the expected number of moves to sort a permutation in Pn_{n} are closely related. Consequently, we propose a model to estimate the expected number of moves to sort a permutation in Pn_{n} with a block-move. We show the results for prefix transposition. Due to symmetry, these results are also applicable to suffix transposition.

Keywords

Cite

@article{arxiv.1601.04469,
  title  = {Adjacencies in Permutations},
  author = {Bhadrachalam Chitturi and Krishnaveni K S},
  journal= {arXiv preprint arXiv:1601.04469},
  year   = {2016}
}

Comments

20 pages. 5 tables

R2 v1 2026-06-22T12:31:34.087Z