Given a permutation over the alphabet , and are said to form an adjacency if where . The set of permutations over is a symmetric group denoted by . denotes the subset of permutations with exactly adjacencies. We study four adjacency types and efficiently compute the cardinalities of . That is, we compute for all for each type of adjacency in time. We define reduction and show that is a multiset consisting exclusively of copies of where depends on , 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.