Contents

-

Computing cardinalities of subsets on Sn with k adjacencies

Bhadrachalam Chitturi 1,2
1Department of Computer Science and Engineering, Amrita Vishwa Vidyapeetham, Amritapuri, India
2Department of Computer Science, University of Texas at Dallas, Richardson, Texas 75083, USA

Abstract

Given a permutation π=(π1,π2,π3,,πn) over the alphabet Σ={0,1,,n1}, πi and πi+1 are said to form an adjacency if πi+1=πi+1 where 1in1. The set of permutations over Σ is a symmetric group denoted by Sn. Sn(k) denotes the subset of permutations with exactly k adjacencies. We study four adjacency types and efficiently compute the cardinalities of Sn(k). That is, we compute for all k |Sn(k)| for each type of adjacency in O(n2) time. We define reduction and show that Sn(nk) is a multiset consisting exclusively of μZ+ copies of Sn(0) where μ depends on n, k and the type of adjacency. We derive an expression for μ for all types of adjacency.

Keywords: Adjacency, enumerative combinatorics, permutations, symmetric group, recurrences, time complexity.