Skip to Content
AxiomsAxioms
  • Article
  • Open Access

1 April 2026

5 Pages

Log-Convexity and Fixed Points of Permutations

Department of Mathematics, University of Florida, Gainesville, FL 32611-8105, USA
This article belongs to the Special Issue Permutation Patterns

Abstract

We provide a combinatorial proof for the fact that the numbers of derangements of length n form a log-convex sequence for n ≥ 3 . A minor modification of our proof yields the same result for permutations of length n ≥ 4 that have exactly one fixed point. We explain why these statements do not generalize for permutations with exactly k fixed points where k ≥ 3 .
MSC:
05A05; 05A15

1. Introduction

A derangement is a permutation with no 1-cycles. Derangments are well-studied objects; see Chapter 6 of [1] or Chapter 3 of [2] for basic facts about derangements. Let D ( n ) be the number of derangements of length n. Our first goal in this paper is to provide a combinatorial proof of the fact that the infinite sequence D ( 2 ) ,   D ( 3 ) ,   D ( 4 ) , ⋯ is log-convex, that is, D ( n ) 2 ≤ D ( n − 1 ) D ( n + 1 ) for all n ≥ 3 . (The sequence { a n } is called log-convex if a n 2 ≤ a n − 1 a n + 1 for all n where those numbers are defined.) A computational proof was given by Lily L. Liu and Yi Wang in [3].
As derangements are defined using the fact that permutations are products of cycles, it is perhaps surprising that they are equinumerous to another class of permutations that are defined using the fact that permutations are also linear orders. This is surprising because the two definitions look unrelated at first sight, yet the classes of the two permutations they define prove to be closely related. This surprising fact turns these permutations called desarrangements into our main tool in this paper. If p = p 1 p 2 ⋯ p n is a permutation written in the one-line notation, then i is called an ascent of p if p i < p i + 1 . Let a a ( p ) be the smallest of all the ascents of p, if p has any ascents, and let a a ( p ) = n otherwise, that is, when p is the decreasing permutation. A desarrangement is a permutation for which a a ( n ) is even. In other words, the decreasing permutation is a desarrangment if and only if n is even. For example, 213, 54, 312, and 21 are desarrangements. Jacques Désarménien introduced desarrangements in [4]. (See [5] for a source in English.) Let J ( n ) be the number of desarrangements of length n. It is straightforward to prove computationally that
J ( n ) = D ( n )
for all positive integers n. See [4] or [5] for a bijective proof.
Because of (1), proving that sequence of the numbers D ( n ) is log-convex is equivalent to proving that the sequence of the numbers J ( n ) is log-convex. This is our goal in Section 2.
Let F ( n ) be the number of permutations of length n that have exactly one fixed point. It is well-known that for all positive integers n, the equality
F ( n ) = D ( n ) + ( − 1 ) n − 1
holds. This fact is straightforward to prove computationally. A combinatorial proof is not obvious, but Herb Wilf gave one in [6]. In Section 3, we will use (2) and a minor modification of the notion of desarrangements to obtain a combinatorial proof of the log-convexity of the sequence { F ( n ) } n ≥ 3 .
We then study permutations in which there are exactly k fixed points for some k > 1 , from the perspective of log-convexity. This shows that the results that we prove for k = 0 and k = 1 do not generalize for k > 2 for every n, but they do hold for n if n is large enough.

2. Desarrangements

Let n ≥ 3 , and let J ( n ) be the set of all desarrangements of length n. We are going to define a map
f n : J ( n ) × J ( n ) → J ( n − 1 ) × J ( n + 1 ) .
We will then prove that this map is injective, which will imply that the sequence J ( 2 ) ,   J ( 3 ) , ⋯ is log-convex.
Here is how we define f n ( p , q ) , where ( p , q ) ∈ J ( n ) × J ( n ) .
  • If n is odd, simply move the last entry p n of p to the end of q, increasing each entry of q that is at least as large as p n by 1. Decrease all entries of p larger than p n by 1. An example is shown below.
    f 7 ( 2135764 , 6321475 ) ⟶ ( 213465 , 73215864 ) .
    Note that if f n ( p , q ) = ( p ′ , q ′ ) , then q ′ never ends in n + 1 .
  • If n is even, and p is not the decreasing permutation, proceed in the same way as in the preceding paragraph. Again, q ′ will not end in n + 1 .
  • If n is even, and p is the decreasing permutation, then we have to proceed slightly differently because we cannot remove the last entry of p without destroying the desarrangement property. In this case, we set p ′ = ( n − 1 ) ( n − 3 ) ( n − 2 ) ⋯ 321 , and we set q ′ to be q with n + 1 attached to the end. Therefore, in this case, q ′ always ends with n + 1 .
Also note that in Rules 1 and 2, as shown above, removing the last entry of p never destroys the desarrangement property of p. Indeed, the only case in which that removal influences the leftmost ascent of p is when n is odd and the leftmost descent is in position n − 1 , but then the removal of p n results in a decreasing permutation of even length, and that is a desarrangement. The addition of a new entry at the end of q also does not destroy the desarrangement property.
Theorem 1.
The map f n defined above is an injection. Therefore, sequence { J ( n ) } n ≥ 3 is log-convex.
Proof. 
If n is odd, then we can recover the unique preimage ( p ′ , q ′ ) ∈ J ( n − 1 ) × J ( n + 1 ) (if it exists) as follows. If the last entry of q ′ is n + 1 , the preimage does not exist. Otherwise, remove that last entry q n + 1 ′ , and decrease all entries of q ′ less than that entry by 1 to obtain q. In order to obtain p, insert q n + 1 ′ to the end of p, increasing all entries of p that are larger than or equal to q n + 1 ′ by 1.
If n is even, then the procedure is the same if q n + 1 ′ ≠ n + 1 . If q n + 1 ′ = n + 1 , and we also have p ′ = ( n − 1 ) ( n − 3 ) ( n − 2 ) ⋯ 321 , then p is the decreasing permutation of length n, and q n is recovered by removing the last entry of q n + 1 ′ . Finally, if q n + 1 ′ = n + 1 , and p ′ ≠ ( n − 1 ) ( n − 3 ) ( n − 2 ) ⋯ 321 , then the preimage of ( p ′ , q ′ ) does not exist.
As f n J ( n ) × J ( n ) → J ( n − 1 ) × J ( n + 1 ) is an injection, it follows that the size of its domain is at most as large as the size of the set of its images, that is, J ( n ) 2 ≤ J ( n − 1 ) J ( n + 1 ) , which shows that the sequence J ( 2 ) ,   J ( 3 ) , ⋯ is log-convex. □

3. Permutations with One Fixed Point

Recall from the introduction that F ( n ) denotes the number of permutations of length n that have exactly one fixed point, and that for all positive integers n, the equality F ( n ) = D ( n ) + ( − 1 ) n − 1 holds. It is therefore easy to modify the definition of desarrangements to suit our purposes. Let K ( n ) be the set of permutations of length n whose first ascent is in an even position. If p is the decreasing permutation, then let p ∈ K ( n ) if and only if p is odd. It follows from this definition, (1) and (2) that
K ( n ) : = | K ( n ) | = F ( n ) .
Therefore, proving that sequence of the numbers F ( n ) is log-convex (for n ≥ 3 ) is equivalent to proving that the sequence of the numbers K ( n ) is log-convex.
Let n ≥ 4 . We define a map
g n : K ( n ) × K ( n ) → K ( n − 1 ) × K ( n + 1 ) .
We will now prove that this map is injective, and therefore, the sequence { K ( n ) } n ≥ 4 is log-convex.
The definition of g n is similar to that of f n in the last section, but there are some differences. Let ( p , q ) ∈ J ( n ) × J ( n ) .
1.
If n is even, simply move the last entry p n of p to the end of q, increasing each entry of q that is at least as large as p n by 1. Decrease all entries of p larger than p n by 1. The obtained pair is ( p ′ , q ′ ) = g n ( p , q ) . Note that q ′ does not end in n + 1 .
2.
If n is odd, and p is not the decreasing permutation, and the leftmost ascent of p is not in position n − 1 , proceed as in the preceding paragraph. Again, the last entry of q ′ is not n + 1 .
3.
If n is odd, and p is the decreasing permutation, then we set p ′ = ( n − 1 ) ( n − 3 ) ( n − 2 ) ⋯ 321 , and we set q ′ to be q, with n + 1 attached to the end. So in this case, q ′ always ends with n + 1 .
4.
If n is odd, and the leftmost descent of p = p 1 p 2 ⋯ p n is in position n − 1 ,
4.a
and the rightmost entry of p is not n, then remove p 1 (note that, necessarily, p 1 = n ), and then simply reverse p 2 ⋯ p n to obtain p ′ . Simply add n + 1 to the end of q to obtain q ′ . For example,
g 5 ( 54213 , 32451 ) = ( 3124 , 324516 ) .
4.b
If the rightmost entry of p is n, that is, if p = ( n − 1 ) ( n − 2 ) ⋯ 1 n , then let p ′ be the decreasing permutation of length n − 1 . Simply add n + 1 to the end of q to obtain q ′ . So q ′ again ends in n + 1 . Note that this is the only case in which q ′ ends in n + 1 and p ′ is the decreasing permutation.
Theorem 2.
The map g n defined above is an injection. Therefore, the sequence { K ( n ) } n ≥ 4 is log-convex.
Proof. 
Let ( p ′ , q ′ ) ∈ K ( n − 1 ) × K ( n + 1 ) . If q ′ does not end in n + 1 , then we can recover the unique preimage g n − 1 ( p ′ , q ′ ) in the proof of Theorem 1.
If q ′ ends in n + 1 , and n is even, then g n − 1 ( p ′ , q ′ ) does not exist. If n is odd, then we look at p ′ .
(3)
If p ′ = ( n − 1 ) ( n − 3 ) ( n − 2 ) ⋯ 321 , then Rule 3 was used, so p = n ( n − 1 ) ⋯ 21 , and q is obtained by removing the last entry ( n + 1 ) of q ′ .
(4.a)
If p ′ ≠ ( n − 1 ) 1324 ⋯ ( n − 2 ) , then Rule 4.a was used, so p is obtained by reversing p ′ and prepending it with n. As in the previous case, q is by removing the last entry ( n + 1 ) of q ′ .
(4.b)
If p ′ is the decreasing permutation, then Rule 4.b was used, so p = ( n − 1 ) ( n − 2 ) ⋯ 1 n , and q is obtained by removing the last entry ( n + 1 ) of q ′ .
□

4. Permutations with k Fixed Points

The following theorem of Désarménien and Wachs [5] generalizes the connection between derangements and desarrangements.
Theorem 3.
Let F n , k be the number of n-permutations with k fixed points. Let E n , k be the number of n-permutations p = p 1 p 2 ⋯ p n with the following properties:
  • The chain of inequalities p 1 < p 2 < ⋯ < p k holds;
  • The string p k + 1 p k + 2 ⋯ p n is a desarrangement.
Then, the equality F n , k = E n , k holds.
Remark 1.
It would be tempting to think that Theorem 3 can be used to prove that for any fixed k, the sequence { E n , k } n ≥ k + 2 is log-convex, but that log-convexity does not hold in general. Indeed, for k = 3 , we obtain a counterexample at n = 7 , since
E 6 , 3 · E 8 , 3 = 40 · 2464 = 98560 < 99225 = E 7 , 3 2 = 315 2 .
Similarly, we obtain a counterexample for k = 4 at n = 8 .
The injective maps of the preceding two sections do not generalize, because in the case when n − k is even, the string p k + 1 < p k + 2 < ⋯ < p n may be decreasing, and it can have many (exactly ( n k ) to be precise) different underlying sets. In the case of n − k being odd, the inequalities defining log-convexity still hold, as is proved by the first step of the relevant maps (just move the last entry of p to the end of q).
This leaves the question of what happens for k = 2 . The answer is that the sequence { F n , 2 } n ≥ 4 is log-convex, as can be proved computationally using the formula E n , 2 = n 2 D ( n − 2 ) , and the approximation that D ( n ) is the integer closest to n ! / e .
The phenomenon that we have seen—that for a fixed k, the sequence { F n , k } n ≥ k + 2 is log-convex if k = 0 , k = 1 , or k = 2 , but not for larger k—can be explained as follows. It is well-known that D ( n ) is the integer closest to n ! / e , and that the sequence n ! is log-convex. It is routine to prove that for a large n, the number F n , k is approximately n ! / ( k ! e ) , so, for a large n, the log-convex condition will hold. However, for large values of k, the error terms can be significant for small values of n, and that leads to our counterexamples. Also note that while (for fixed k), the sequence D ( n − k ) is log-convex, the sequence ( n k ) is log-concave, and it takes time for log-convexity to prevail in the product of the two sequences.

Funding

The author was partially supported by Simons Collaboration Grant 940024.

Data Availability Statement

No new data was generated by this project.

Conflicts of Interest

The author has no conflict of interest.

References

  1. Bóna, M. A Walk Through Combinatorics, 5th ed.; World Scientific: Singapore, 2023. [Google Scholar]
  2. Bóna, M. Combinatorics of Permutations, 3rd ed.; CRC Press—Chapman Hall: Boca Raton, FL, USA, 2022. [Google Scholar]
  3. Liu, L.L.; Wang, Y. On the log-convexity of combinatorial sequences. Adv. App. Math. 2007, 39, 453–476. [Google Scholar] [CrossRef] [Scilit]
  4. Désarménien, J. Une autre interprétation du nombre de dérangements. Sém. Lotharing. Combin. 1984, 19, 11–16. [Google Scholar]
  5. Désarménien, J.; Wachs, M. Descent classes on permutations. J. Combin. Theory A 1993, 64, 311–328. [Google Scholar] [CrossRef] [Scilit]
  6. Wilf, H.S. A bijection in the theory of derangements. Math. Mag. 1984, 57, 37–40. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.