Abstract
This paper completes the classification of maximal unrefinable partitions, extending a previous work of Aragona et al. devoted only to the case of triangular numbers. We show that the number of maximal unrefinable partitions of an integer coincides with the number of suitable partitions into distinct parts, depending on the distance from the successive triangular number.
Similar content being viewed by others
1 Introduction
Let \(N \in \mathbb N\). A partition of N into distinct parts is called unrefinable if none of its parts x can be replaced by integers whose sum is x and which do not already belong to the partition. Since such definition naturally imposes a limitation on the size of the largest part, we call maximal unrefinable partitions those where the largest part is maximal among those having the same sum. Aragona et al. [1] have recently shown that if N is the triangular number \(T_n = \left( {\begin{array}{c}n+1\\ 2\end{array}}\right) \) and \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\) is an unrefinable partition of N, then \(\lambda _t \le 2n-4\) and that the bound is sharp. Moreover, they calculated that the number of unrefinable partitions of \(T_n\) attaining the bound, i.e., those where \(\lambda _t=2n-4\), is as follows:
Theorem
([1]) Let \(n \in \mathbb N\). The number of maximal unrefinable partitions of \(T_n\) is one if n is even and coincides with the number of partitions of \((n+1)/2\) into distinct parts if n is odd.
The aim of this work is to complete the classification of maximal unrefinable partitions, extending the previous result to the case of non-triangular numbers. If \(N \in \mathbb N\) is non-triangular, then it is uniquely determined by a pair (n, d) where \(n \in \mathbb N\) and \(1 \le d \le n-1\) such that \(N=T_n-d\). We denote such an integer N by \(T_{n,d}\). Before introducing the main contribution of this paper related to the number of maximal unrefinable partitions of \(T_{n,d}\), let us specify the notation.
1.1 Notation
The sequence of positive integers \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\) is a partition of N into distinct parts if \(\sum \lambda _i = N\), \(\lambda _1< \lambda _2< \cdots < \lambda _t\) and \(t \ge 2\). We write \(\lambda \vdash N\) and \(|\lambda | = t\). The set \(\mathbb D_N\) denotes the set of all the partitions of N into distinct parts, while \(\mathbb {D}_{N,s}\) denotes the set \(\mathbb {D}_{N,s}=\left\{ \lambda \in \mathbb {D}_{N}\mid \left| \lambda \right| =s \right\} \) of partitions of N into s distinct parts (or of length s). Moreover, \(\mathbb {D}_{N}^{\,\text{ odd } }\) denotes the subset of \(\mathbb D_N\) composed of partitions in which each part is odd. If \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\in \mathbb D\), the integers belonging to
are called the missing parts of \(\lambda \), and are denoted by \(\mu _1< \mu _2< \cdots <\mu _m\), for some \(m \ge 0\).
It is not hard to realize that if a partition is refinable, then its smallest refinable part has a refinement of the form \(a +b\) [2, Proposition 4]. This justifies the following definition.
Definition 1.1
Let \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\) be a partition of N into distinct parts and let \(\mu _1< \mu _2< \dots <\mu _m\) be its missing parts. The partition \(\lambda \) is refinable if there exist \(1 \le \ell \le t\) and \(1\le i<j \le m \) such that \(\mu _i+\mu _j = \lambda _{\ell }\), and unrefinable otherwise. The set of unrefinable partitions of N is denoted by \(\mathbb {U}_N\). An unrefinable partition \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\in \mathbb {U}_N\) is called maximal if
We denote by \({\widetilde{\mathbb {U}}_{N}}\) the set of the maximal unrefinable partitions of N.
If A and B are sets and \(\phi :A \rightarrow B\) is a bijection, then we write \(A \overset{\phi }{\leftrightarrow }\ B\) to mean that \(\phi \) sends bijectively A into B. We denote by \(\#A\) the number of elements of A.
1.2 Contributions
As already anticipated, the aim of this work is to construct and count maximal unrefinable partitions for non-triangular numbers \(T_{n,d}\), for \(n \in \mathbb N\) and \(1 \le d \le n-1\). For a fixed \(n \in \mathbb N\) and for \(1 \le d \le n-1\), we show a sharp upper bound for \(\lambda _t\) when \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\in \mathbb {U}_{T_{n,d}}\). In particular, we show that, if \(3 < d \le n-1\), then
Moreover, in the extremal cases \(d \in \{1,2,3\}\), we obtain respectively: \(\lambda _t\le 2n-2\), \(\lambda _t\le 2n-3\) and \(\lambda _t\le 2n-4\). Once it is clear what maximal means for an unrefinable partition of \(T_{n,d}\), we can construct, classify and count all the partitions of \(\widetilde{\mathbb {U}}_{T_{n,d}}\), by way of a bijective proof. As in the case of triangular numbers, maximal unrefinable partitions can be expressed in terms of suitable partitions into distinct parts, for sufficiently large n. We will show the following result.
Main theorem
Let \(n \in \mathbb N\), \(n \ge 11,\) and \(1\le d \le n-1 \). If \(d >3,\) the number of maximal unrefinable partitions of \(T_{n,d}\) is
Otherwise, for \(d \in \{1,2\}\) we have \(\#\widetilde{\mathbb {U}}_{T_{n,d}}=1\) and for \(d=3\)
1.3 Related works
The concept of unrefinability of a partition, formalized here in Definition 1.1, comes from a quite natural constraint among the parts, therefore the authors’ belief is that the corresponding combinatorial object is intrinsically interesting. Nonetheless, only few partial results are known on this topic (cf. the On-Line Encyclopedia of Integer Sequences for the first values of the sequence of unrefinable partitions [9, https://oeis.org/A179009]). However, in addition to the purely theoretical interest, it has been shown that unrefinable partitions are surprisingly related to the generators of the \((n-1)\)th term in a chain of normalizers in the Sylow 2-subgroups of \({{\,\textrm{Sym}\,}}(2^n)\) [5], while the generators of the previous \(n-2\) terms of the chain were linked to partitions into distinct parts in the classical sense [3, 4].
We have already explained why the size of the largest part, in this case, is an interesting statistic. First results on the classification of maximal unrefinable partitions have been obtained by Aragona et al. in the case of triangular numbers [1], combining a property of symmetry, which is similar to the one described later in this paper, and a bound in the minimal excludant [7], which has been investigated also recently by other authors [6, 8]. With similar techniques and by means of a polynomial-time algorithm for the generation of all the unrefinable partitions of a given integer used for simulations [2], we complete here the classification of maximal unrefinable partitions extending previous constructions to the case of non-triangular numbers.
1.4 Organization of the paper
We show the bound of Eq. (1) and those related to the cases \(d \in \{1,2,3\}\) in Sect. 2. The bounds are obtained constructively, i.e., we show actual partitions which attain the bounds. Such constructions are then extended in Sect. 3 in a complete classification of maximal unrefinable partitions attaining the corresponding bounds. With similar arguments but slightly different computations, we address the cases \(\lambda _t \le 2n-4\) and \(\lambda _t \le 2n-5\) in two separate subsections, i.e., respectively in Sect. 3.1 and in Sect. 3.2. In particular, the already mentioned counting result proved by a bijective argument can be read in Theorem 3.10 and in Theorem 3.20. We draw our conclusions in Sect. 4.
2 Construction of maximal unrefinable partitions
From now on, let us assume \(n \ge 11\). In this section we show that the bound for the largest part in an unrefinable partition for a non-triangular number depends on the parity of the distance from the index of the successive triangular number. To do this, we start from the convenient partition of Definition 2.1. For each non-triangular integer \(N > 3\), indeed, there exists an unrefinable partition of N determined by the successive triangular number \(T_n\) and by the distance d of N from it:
Definition 2.1
Let \(n \in \mathbb N\) and \(1\le d \le n-1 \). We denote by \(\pi _{n,d}\) the unrefinable partition of \(T_{n,d}\) defined by
In order to construct other partitions of \(T_{n,d}\), we will proceed as follows: starting from \(\pi _{n,d} \in T_{n,d}\), we create a new partition \(\lambda \) by removing from \(\pi _{n,d}\) some of its parts, namely \(a_1, a_2, \dots , a_h \in \{1,2,\dots ,d-1,d+1,\dots ,n\}\), and, at the same time, by adding to \(\lambda \) new parts \(\alpha _1, \alpha _2, \dots , \alpha _j \in \{d\,\}\cup \{ s \mid s \ge n+1\}\), for some positive integers h and j. This leads to the creation of a partition \(\lambda \vdash T_{n,d}\) if \(j \le h\) and
The obtained partition may be, in general, refinable or not. This notation will be used in the remainder of the paper and this strategy, in addition to further unrefinability checks, will lead to the classification of \(T_{n,d}\).
Notice that when \(\lambda \) is an unrefinable partition of \(\widetilde{\mathbb {U}}_{T_{n,d}}\), the missing part d in \(\pi _{n,d}\) can be either one of the replacements \(\alpha _i\)s or not. We will show in Proposition 2.3 that, depending on this, we will obtain two different bounds. The proof of this first result relies on the following known fact [1], which we reproduce here for completeness.
Lemma 2.2
([1]) Let \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\) be unrefinable and let \(\mu _1< \mu _2< \cdots < \mu _m\) be its missing parts. Then the number m of the missing parts is bounded by
Proof
Let us start by observing that \(\lambda _t-\mu _i \in \lambda \) for \(1 \le i \le m\), otherwise from \(\lambda _t-\mu _i, \mu _i \in \mathcal {M}_\lambda \), we obtain \( (\lambda _t-\mu _i)+\mu _i=\lambda _t\in \lambda \) and thus \(\lambda \) is refinable. Only the case \(\mu _i = \lambda _t/2\) when \(\lambda _t\) is even is exceptional. We prove the claim by removing from the partition \((1,2,\dots ,\lambda _t)\) the maximum number of parts different from \(\lambda _t\). For the previous observation, each candidate part \(\mu _i\) to be removed has a counterpart \(\lambda _t-\mu _i\) in the partition. The bound in the statement depends on the fact that this process can be repeated no more than \(\lfloor {\lambda _t}/{2}\rfloor \) times. \(\square \)
Proposition 2.3
Let \(N=T_{n,d}\) with \(n \in \mathbb N\) and \(1\le d \le n-1,\) and let \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\in \widetilde{\mathbb {U}}_{N}\). Then
Proof
We will use, here and in the following proofs, the notation introduced after Definition 2.1. Let us first assume that \(d\not \in \lambda \), then the number of missing parts of \(\lambda \) is \(h+1+(\lambda _t-n-j)\). From Lemma 2.2, we have \(h+1+\lambda _t-n-j\le \lfloor \lambda _t/2\rfloor \) and so
If \(d\not \in \lambda \), then we have \(j < h\) and so, from Eq. (2), \(n-1-\lceil \lambda _t/2\rceil \ge 1\), i.e., \(\lambda _t\le 2n-4\). If we assume \(d\in \lambda \), from Eq. (2) and from \(j\le h\) we have \(n-1-\lceil \lambda _t/2\rceil \ge 0\), i.e., \(\lambda _t\le 2n-2\). \(\square \)
Remark 1
First notice that \(1\le a_1<a_2<\cdots < a_h\le n\), \(d<n\) and \(n+1\le \alpha _i \le \lambda _t\) for each \(1\le i \le j\) such that \(\alpha _i\ne d\), hence, since \(\sum a_i = \sum \alpha _i\), if \(d\in \lambda \), then \(j\le h\), otherwise \(j<h\). In particular if \(\lambda _t\in \{2n-3,2n-2\}\), which is by Proposition 2.3 only possible when \(d\in \lambda \), we have \(j\le h\). Moreover, from Eq. (2) we have \(h\le j+n-1-\lceil \lambda _t/2\rceil =j\). In other words, if \(\lambda _t\in \{2n-3,2n-2\}\), then \(h=j\). In the case when \(\lambda _t=2n-4\), if \(d\in \lambda \) we have \(j\le h\) and, from Eq. (2), \(h\le j+1\), and so \(h\in \{j,j+1\}\); instead if \(d\not \in \lambda \), since \(j<h\), we obtain \(h=j+1\).
Remark 2
(Anti-symmetry) Let \(\pi _{n,d} \ne \lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\vdash N\) be unrefinable. In this case \(\lambda _t \ge n+1\). Notice that if an integer x in \(\{1,\dots , \lambda _t-n-1\}\) is such that \(x\not \in \lambda \), then it corresponds to an element \(x'=\lambda _t-x\in \{n+1,\dots ,\lambda _t-1\}\) such that \(x'\in \lambda \), otherwise \(x+x'=\lambda _t\) and \(\lambda \) is refinable. Therefore, the parts of \(\lambda \) can belong to three consecutive areas of \(\{1,2,\ldots ,\lambda _t-1\}\), as shown in Fig. 1. We call
-
the first area the set \(\{s \in \mathbb N \mid 1 \le s \le \lambda _t-n-1\}\),
-
the free area the set \(\{s \in \mathbb N \mid \lambda _t-n \le s \le n\}\),
-
the last area the set \(\{s \in \mathbb N \mid n+1 \le s < \lambda _t\}\).
Choosing elements in the first area implies fixing parts in the last one. For this reason, if we consider \(\pi _{n,d}\) and if we obtain a new unrefinable partition \(\lambda \vdash T_{n,d}\) from \(\pi _{n,d}\) removing \(a_1,a_2,\ldots ,a_h\le n\) and replacing them with \(\alpha _1,\alpha _2,\ldots ,\alpha _j\), then each \(a_i\) in the first area determines \(\lambda _t-a_i\in \{\alpha _i\}_{i=1}^{j-1}\). Accordingly, we denote the element \(\lambda _t-a_i\) by \(\alpha _i\). In particular \(\lambda _t=\alpha _j\) and, when \(d\in \lambda \), we denote d by \(\alpha _{j-1}\).
By Proposition 2.3 we know that if \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\), then \(\lambda _t\le 2n-2\). In the following sections, we will distinguish all the possible cases for \(\lambda _t\) and we will provide the corresponding constructions.
2.1 The case \(\lambda _t=2n-2\)
By virtue of Proposition 2.3 we know that if \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\), then \(d\in \lambda \) implies \(\lambda _t \le 2n-2\). Let us now show that the bound is attained sharply only for a single choice of d.
Proposition 2.4
Let \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\in \widetilde{\mathbb {U}}_{T_{n,d}}\). If \(\lambda _t=2n-2,\) then \(d=1\) and such a partition is unique.
Proof
From Proposition 2.3 we have that \(\lambda _t=2n-2\) implies \(d \in \lambda \) and by Remark 1 we also know that \(h=j \ge 2\). From the hypothesis \(\lambda _t=2n-2\) we obtain that the free area corresponds to the set \(\{n-2,n-1,n\}\). By Remark 2 we have that \(\alpha _{h-1}=d\) and \(\alpha _h=2n-2\) are fixed. Therefore, since \(h=j\), the free area can contain two or three parts, but we must rule out the second option since it would violate unrefinability. We are then only left with the case of two parts chosen among \(\{(n-2,n-1),(n-1,n)\}\). The case \((n-2,n)\) is not considered since \(n-2+n=2n-2\) and \(\lambda \) is unrefinable. Let us distinguish all the possible cases for h.
Let \(h=2\). Since \(\alpha _1\) and \(\alpha _2\) are already fixed, we have that \(a_1\) and \(a_2\) are free elements. From \(\sum a_i = \sum \alpha _i\) we have that either
From the first equation we obtain \(d=-1\), a contradiction. From the second one we obtain \(d=1\), as claimed. Indeed the obtained partition \(\lambda =(1,2,\dots , n-2, 2n-2)\) is unrefinable since the sum of the first two missing parts \(n-1\) and n is larger than \(\lambda _t=2n-2\). Let us now prove that the remaining cases lead to contradictions.
Let \(h=3\). From the hypothesis and from Remark 2, we have \(\alpha _3=2n-2\), \(\alpha _2=d\), \(\alpha _1=2n-2-a_1\) is determined by the choice of \(a_1\) and \((a_2,a_3) \in \{(n-2,n-1),(n-1,n)\}\). Let us assume that \((a_2,a_3) =(n-1,n)\). Then, by \(\sum a_i = \sum \alpha _i\), we obtain
from which
By checking if \(a_1 \le n-3\) as it should be, we determine a contradiction on d. The other option for \((a_2,a_3)\) corresponds to a larger value for \(a_1\), even more so a contradiction.
Let \(h\ge 4\). We are assuming \(\alpha _h=2n-2\), \(\alpha _{h-1}=d\), \((a_{h-1},a_h) \in \{(n-2,n-1),(n-1,n)\}\) and \(1 \le a_1< a_2 \cdots < a_{h-2} \le n-3\), which determine \(\alpha _1,\alpha _2, \dots , \alpha _{h-2}\) as \(\alpha _i = 2n-2-a_i\). From \(\sum a_i = \sum \alpha _i\) we obtain
Proceeding as in the previous case, we can choose to maximize \(a_2+\cdots +a_h\) by setting \(a_{h-2}=n-3, a_{h-3}=n-4, \dots , a_2=n-h+1\) and \(a_{h-1} = n-1\), \(a_h = n\). From this we obtain
Checking \(a_1<a_2 = n-h+1\), we obtain \(h^2-h-5+d < 0\), which is impossible in the current setting where \(d >0\) and \(h \ge 4\). Notice that the choice of maximizing \(a_2+\cdots +a_h\) leads to the minimum value for \(a_1\). Any other choice of \(a_2,\dots ,a_h\) would lead to a contradiction even more so. \(\square \)
Notice that in the previous proof only one construction was successful. Therefore, the following consequence is trivially obtained.
Corollary 2.5
\(\#\widetilde{\mathbb {U}}_{T_{n,1}}=1.\)
In the following sections, we will investigate the remaining possibilities for \(\lambda _t\). Notice that we will mimic the arguments of Proposition 2.4. As before, given the value of \(\lambda _t\), we will determine the free area and the number of elements that can be chosen in the free area. Then we will attempt to construct partitions for each possible value of h. In the general case, we will derive the conclusion starting from the choice which maximizes the sum of the values assigned to \(a_2, a_3, \dots , a_h\), and minimizes \(a_1\). We will use this strategy also in the following proofs, without further mention.
2.2 The case \(\lambda _t=2n-3\)
Proposition 2.6
Let \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\in \widetilde{\mathbb {U}}_{T_{n,d}}\). If \(\lambda _t=2n-3,\) then \(d=2\) and such a partition is unique.
Proof
From the hypothesis and from Remark 1, we obtain that \(d \in \lambda \) and \(h=j\). The free parts are those belonging to \(\{n-3, \dots , n\}\). We have already fixed two of the \(\alpha _i\)s and it is not possible to choose more that two parts in the free area without obtaining a contradiction on the unrefinability of \(\lambda \). Therefore, we are left with the case of two free parts and \(h-2\) parts in the first area to be determined. Only four conditions on \((a_{h-1},a_h)\) do not contradict the unrefinability on \(2n-3\), namely
Let us distinguish the possible cases for h.
Let \(h=2\). From \(\sum a_i = \sum \alpha _i\) we obtain four equations
From the first two equations we obtain the contradiction of d being a negative integer. From the third equation we obtain \(d=1\), which means that the partition is not maximal (cf. Proposition 2.4). From the last one we obtain \(d=2\), as claimed. Notice that the obtained partition \(\lambda =(1,2,\dots ,n-2,2n-3)\) is unrefinable since the sum of the least missing parts \(n-1\) and n is larger than \(2n-3\). In the remainder of the proof, we will show that the remaining cases lead to contradictions.
Let \(h=3\). In the current setting we have \(\alpha _2=d\), \(\alpha _3=2n-3\), \((a_{2},a_3) \in \{(n-3,n-2),(n-3,n-1),(n-2,n),(n-1,n)\}\), \(1 \le a_1 \le n-4\) and \(\alpha _1=2n-3-a_1\). Proceeding as usual, let us consider the case where \(a_2+\cdots +a_h\) is maximal, which corresponds to the choice \(a_2=n-1\) and \(a_3=n\). From \(\sum a_i = \sum \alpha _i\) we obtain
and checking if \(a_1 \le n-4\) we obtain a contradiction on d.
Let \(h\ge 4\). Maximizing \(a_2+\cdots +a_h\), i.e., setting \(a_{h-2}= n-4, a_{h-3}=n-5,\dots , a_2=n-h\), \(a_{h-1}=n-1\) and \(a_h=n\), from \(\sum a_i = \sum \alpha _i\) we have
Imposing \(a_1 < a_2=n-h\) leads to a contradiction. \(\square \)
Corollary 2.7
\(\#\widetilde{\mathbb {U}}_{T_{n,2}}=1.\)
2.3 The case \(\lambda _t=2n-4\)
In this case, by Proposition 2.3, we have to consider both cases \(d\not \in \lambda \) and \(d\in \lambda \). Let us start by showing that the first assumption gives only one contribution.
Proposition 2.8
Let \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\in \widetilde{\mathbb {U}}_{T_{n,d}}\) be such that \(d\not \in \lambda \). If \(\lambda _t=2n-4,\) then \(d=n-5\) and such a partition is unique.
Proof
We derive the claim by proving the following two statements:
-
(1)
if \(d\le n-5\), then \(d=n-5\) and there exists only one partition;
-
(2)
no partition exists if \(n-4\le d <n\).
Let us now prove each claim separately.
-
(1)
If \(\lambda _t=2n-4\), then the free area is \(\{n-4,\ldots ,n\}\) and we have, by Remark 1, that \(h=j+1\). Moreover, from the fact that \(d\not \in \lambda \) and \(d\le n-5\), or in other words d is outside the free area, we must have \(\lambda _t-d\in \lambda \) since \(\lambda \) is unrefinable. Hence we are left with \(j-2\) parts in the last area to be determined. Now, choosing four parts in the free area would contradict the unrefinability of \(\lambda \). We also obtain a contradiction choosing less than two parts in the free area, i.e., more than \(h-2=j-1\) parts in the first area. We conclude we can only choose three parts in the free area. In particular we have only four possible cases, i.e., \((a_{h-2},a_{h-1},a_h)\in \{(n-4,n-3,n-2),(n-4,n-2,n-1),(n-3,n-2,n),(n-2,n-1,n)\}\).
Let \(h=3\). From \(\sum a_i = \sum \alpha _i\) we obtain four equations by the four possible options in the free area:
$$\begin{aligned} 3n-9&=4n-8-d,\\ 3n-7&=4n-8-d,\\ 3n-5&=4n-8-d,\\ 3n-3&=4n-8-d. \end{aligned}$$The first three equations lead to a contradiction on d while from the last one we obtain \(d=n-5\), corresponding to the partition
$$ \lambda =(1,2,\ldots ,n-6,n-4,n-3,n+1,2n-4) $$which is unrefinable since, by hypothesis, we have \(n\ge 11\).
Let \(h=4\). As usual, maximizing \(a_2+a_3+a_4\), fomr \(\sum a_i = \sum \alpha _i\) we determine
$$ a_1=\frac{3n-9-d}{2}. $$Imposing \(a_1<n-4\) we obtain \(d>n-1\), a contradiction.
Let \(h\ge 5\). Maximizing \(a_2+a_2+\cdots +a_h\), from \(\sum a_i = \sum \alpha _i\) we obtain
$$ a_1=\frac{3n+h^2-3\,h-13-d}{2}, $$being meaningful when \(a_1<a_2=n-h\), from which we obtain \(n-d+(h^2-h-13)<0\), a contradiction if \(h\ge 5\).
-
(2)
Notice that, since \(d\not \in \lambda \) and \(n-4\le d< n\), we can only choose \(a_{h-1}\) and \(a_h\) in the free area, being the third spot occupied already by d. From \(\sum a_i = \sum \alpha _i\), in this case we have
$$\begin{aligned} a_1+a_2+\cdots +a_{h-2}=\frac{(h-1)(2n-4)-(a_{h-1}+a_h)}{2}. \end{aligned}$$(3)Let us now examine each possible choice of d. If \(d=n-4\) or \(d=n-2\), then \(a_{h-1}+a_h\) is odd, therefore Eq. (3) cannot be satisfied. Let us now assume that \(d=n-3\). In this case \((a_{h-1},a_h)\in \{(n-4,n-2),(n-2,n)\}\).
Let \(h=3\). Maximizing \(a_2+a_3\), we can calculate
$$ a_1=\frac{4n-8-(a_2+a_3)}{2}, $$and so \(a_1>n-5\), a contradiction.
Let \(h\ge 4\). Maximizing \(a_2+a_3+\cdots +a_h\), from \(\sum a_i = \sum \alpha _i\) we obtain
$$ a_1=\frac{2n+h^2-h-12}{2}. $$Checking if \(a_1<a_2=n-h-1\), we derive that \(h^2+h-10<0\), a contradiction. The same contradiction is obtained when \(d=n-1\).
\(\square \)
Let us address the remaining case \(d\in \lambda \). Recall that, in this case, by Remark 1 we have \(h\in \{j,j+1\}\).
Proposition 2.9
Let \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\in \widetilde{\mathbb {U}}_{T_{n,d}}\) be such that \(\lambda _t=2n-4\) and \(d\in \lambda \). If \(h=j,\) then \(d=3\) and such a partition is unique. If \(h=j+1,\) then for each \(1\le k\le \lfloor (n-2)/2\rfloor \) there exists \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\) with \(d=n-(2k-1)\) and there does not exist \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\) with \(d=n-2k\).
Proof
Let us assume that \(h=j\). Since, by Remark 2, \(\alpha _{h-1}=d\) and \(\alpha _{h}=2n-4\) are already fixed, then \(a_{h-1}\) and \(a_h\) are parts of the free area. Notice that the free area cannot contain more than three parts.
Let us first assume that it only contains two parts, i.e., \((a_{h-1},a_{h})\in \{(n-4,n-3),(n-4,n-2),(n-4,n-1),(n-3,n-2),(n-3,n),(n-2,n-1),(n-2,n),(n-1,n)\}\).
Let \(h=2\). We must have \(a_1+a_2=2n-4+d\). In the case when \((a_1,a_2)=(n-1,n)\) we obtain \(d=3\). which is the claim, since the corresponding partition \(\lambda =(1,2,\ldots ,n-2,2n-4)\) is unrefinable. If \((a_1,a_2)=(n-2,n-1)\) or \((n-2,n)\), we respectively obtain \(d=1\) and \(d=2\), which, by Propositions 2.4 and 2.6, contradicts the maximality of \(\lambda \). In the remaining cases, we obtain \(d\le 0\) which is a contradiction.
Let \(h=3\). From \(\sum a_i = \sum \alpha _i\), we have
Considering the maximal choice \((a_2,a_3)=(n-1,n)\) we obtain \(a_1=(2n-7+d)/2<n-4\) when \(d< -1\), a contradiction.
Let \(h\ge 4\). From \(\sum a_i = \sum \alpha _i\) we obtain
Maximizing \(a_2+\cdots +a_{h}\), we have
which satisfies \(a_1<a_2\) when \(h^2+h-11+d<0\), a contradiction when \(h\ge 4\).
Under the assumption that \(h=j\), it remains to consider the case of three parts in the free area, i.e., \((a_{h-2},a_{h-1},a_h)\in \{(n-4,n-3,n-2),(n-4,n-2,n-1),(n-3,n-2,n),(n-2,n-1,n)\}\). In this case \(a_1,a_2,\ldots ,a_{h-3}\) determine \(\alpha _1,\alpha _2,\ldots ,\alpha _{h-3=j-3}\), while the part \(n+1 \le \alpha _{j-2} \le 2n-5\) is not determined by one of the \(a_i\)s.
Let \(h=3\). We have \(a_1+a_2+a_3=2n-4+d+\alpha _1\), with \(n+1\le \alpha _1\le 2n-5\) and each possible choice of the parts in the free area implies that \(\alpha _1 < n+1\), which is a contradiction.
Let \(h=4\). From \(\sum a_i = \sum \alpha _i\) we have
and maximizing \(a_2+a_3+a_4\) we obtain \(a_1=(n-5+d+\alpha _2)/2\). Since \(a_1<n-4\), then \(\alpha _2< n-3-d < n-3\), a contradiction.
Let \(h\ge 5\). From \(\sum a_i = \sum \alpha _i\) we have
From the maximal choice of \(a_2+a_3+\cdots +a_{h}\), we obtain
and checking if \(a_1<a_2=n-h\) leads to \((\alpha _{h-2}-n)+(h^2-h-9)+d<0\) which is not compatible with \(h\ge 5\).
This concludes the case \(h=j\).
Let us now address the remaining case \(h=j+1\). In this setting we have only three parts in the free area and, as before, the possible choices are the following triple of elements
Let \(h=3\). We have \(a_1+a_2+a_3=2n-4+d\). In the case \((a_1,a_2,a_3)=(n-2,n-1,n)\) we obtain \(d=n+1\), a contradiction. In the other three cases we obtain d equals \(n-1\), \(n-3\) and \(n-5\), or, in other words, \(d=n-(2k-1)\) for \(1 \le k \le 3\) as claimed. The remaining cases \(3\le d\le n-7\) are considered by showing partitions obtained in the case \(h=4\).
Let \(h=4\). We have
Notice that, for each choice of \((a_2,a_3,a_4)\), we have \(a_2+a_3+a_4=3n- (2t+1)\), for some \(t\ge 0\). Therefore, since \(a_1\) is an integer, n is even if and only if d is odd. Precisely, \(d=n-(2k-1)\) for some \(1\le k\le \lfloor (n-2)/2\rfloor \) (recall that, by Propositions 2.4 and 2.6, the cases \(d=1,2\) are not maximal when \(\lambda _t=2n-4\)). To prove that for all \(3\le d\le n-7\) there exists \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\), consider, for example, the assignment \((a_2,a_3,a_4)=(n-3,n-2,n)\). In this case, from \(\sum a_i = \sum \alpha _i\), we obtain \(a_1=(n-3+d)/2\) which satisfies \(a_1<n-4\) if and only if \(d<n-5\) and the corresponding partition is unrefinable. Indeed, we can violate the refinability only if either \(a_1+a_2=\alpha _1\) or \(a_1+a_3=\alpha _1\) or \(a_1+a_4=\alpha _1\), and this is only possible if \(d\in \{-1,1,2\}\), a contradiction.
If \(h\ge 5\), from \(\sum a_i = \sum \alpha _i\) we have
from which we obtain again that n is even if and only if d is odd, i.e., \(d=n-(2k-1)\) for some positive integer k. \(\square \)
Corollary 2.10
Let n be odd. Then \(\#\widetilde{\mathbb {U}}_{T_{n,3}}=1\).
Proof
By Proposition 2.8, if \(d\not \in \lambda \) then there does not exist any maximal unrefinable partition with \(d=3\). By Proposition 2.9, if \(d\in \lambda \) then we have that, for \(h=j+1\), n odd implies d even and, for \(h=j\), there exists only one maximal unrefinable partition with \(d=3\). \(\square \)
2.4 The case \(\lambda _t=2n-5\)
Also in this case, by Proposition 2.3, we have to consider both cases \(d\not \in \lambda \) and \(d\in \lambda \). Let us address the two cases separately.
Proposition 2.11
Let \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\in \widetilde{\mathbb {U}}_{T_{n,d}}\) such that \(d\not \in \lambda \). If \(\lambda _t=2n-5,\) then \(d=n-6\) and such a partition is unique.
Proof
We derive the claim from proving the following two statements:
-
(1)
if \(d\le n-6\), then \(d=n-6\) and there exists only one partition;
-
(2)
no partition exists if \(n-5\le d <n\).
Let us now prove each claim separately.
-
(1)
If \(\lambda _t=2n-5\) the free area is \(\{n-5,\ldots ,n\}\) and we have, by Remark 1, that \(h=j+1\). Moreover, from the fact that \(d\not \in \lambda \) and \(d\le n-6\), or in other words d is outside the free area, we must have \(\lambda _t-d\in \lambda \) since \(\lambda \) is unrefinable. Hence we are left with \(j-2=h-3\) parts in the last area to be determined. Now, as already concluded in the case \(\lambda _t=2n-4\), we can only choose three parts in the free area. In particular we have only eight possible cases, i.e.,
$$ \left( a_{h-2},a_{h-1},a_h\right) =\left\{ \begin{aligned}&\left( n-5,n-4,n-3\right) , \left( n-5,n-4,n-2\right) ,\\&\left( n-5,n-3,n-1\right) , \left( n-5,n-2,n-1\right) ,\\&\left( n-4,n-3,n\right) , \left( n-4,n-2,n\right) ,\\&\left( n-3,n-1,n\right) , \left( n-2,n-1,n\right) \end{aligned} \right\} . $$Let \(h=3\). From \(\sum a_i = \sum \alpha _i\) we obtain eight equations by the eight possible options in the free area
$$\begin{aligned}&4n-10-d=3n-3,\\&4n-10-d=3n-4,\\&4n-10-d=3n-6,\\&4n-10-d=3n-7,\\&4n-10-d=3n-8,\\&4n-10-d=3n-9,\\&4n-10-d=3n-11,\\&4n-10-d=3n-12. \end{aligned}$$In the first case we obtain \(d=n-7\) which is a contradiction since if \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,n-7}}\) then \(\lambda _t=2n-4\). In the last six cases we have \(d> n-5\) and so we obtain a contradiction. From the second one we obtain \(d=n-6\), corresponding to the partition
$$ \lambda =(1,\dots ,n-7,n-5,n-4,n-2,n+1,2n-5), $$which is unrefinable for \(n\ge 11\).
Let \(h=4\). As usual, maximizing \(a_2+a_3+a_4\), from \(\sum a_i = \sum \alpha _i\) we determine
$$ a_1=\frac{3n-12-d}{2}. $$Imposing \(a_1<n-5\) we obtain \(n-2-d<0\), a contradiction.
Let \(h\ge 5\). Maximizing \(a_2+a_2+\cdots +a_h\), from \(\sum a_i = \sum \alpha _i\) we obtain
$$ a_1=\frac{3n+h^2-2\,h-20-d}{2}, $$being meaningful when \(a_1<a_2=n-h-1\), from which we obtain
$$ n-d+(h^2-18)<0, $$a contradiction if \(h\ge 5\).
-
(2)
Notice that, since \(d\not \in \lambda \) and \(n-5\le d< n\), we can only choose \(a_{h-1}\) and \(a_h\) in the free area, being the third spot occupied already by d. From \(\sum a_i = \sum \alpha _i\), in this case we have
$$\begin{aligned} a_1+a_2+\cdots +a_{h-2}=\frac{(h-1)(2n-5)-(a_{h-1}+a_h)}{2}. \end{aligned}$$(5)We already know that if \(d=n-(2k-1)\) and \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\), then \(\lambda _t=2n-4\), so we can suppose that \(d\in \{n-4,n-2\}\). First suppose that \(d=n-4\). In this case
$$ (a_{h-1},a_h)\in \{(n-5,n-3),(n-5,n-2),(n-3,n),(n-2,n)\}. $$Let \(h=3\). Maximizing \(a_2+a_3\), we can calculate
$$\begin{aligned} a_1=\frac{4n-10-(a_2+a_3)}{2}, \end{aligned}$$(6)so \(a_2+a_3\) must be an even number. Now if \(a_2+a_3=2n-2\), we obtain \(a_1=n-4\), a contradiction, and if the sum is \(a_2+a_3=2n-8\), we obtain \(a_1=n-1\), again a contradiction.
Let \(h\ge 4\). Maximizing \(a_2+a_3+\cdots +a_h\), from \(\sum a_i = \sum \alpha _i\) we obtain
$$ a_1=\frac{2n+h^2-17}{2}. $$Checking if \(a_1<a_2=n-h-2\), we derive that \(h^2+h-13<0\), a contradiction if \(h\ge 4\). Now suppose that \(d=n-2\). In this case
$$ (a_{h-1},a_h)\in \{(n-5,n-4),(n-5,n-1),(n-4,n),(n-1,n)\}. $$Let \(h=3\). Maximizing \(a_2+a_3\), from Eq. (6) \(a_2+a_3\) must be an even number. Now if \(a_2+a_3=2n-4\), we obtain \(a_1=n-3\), a contradiction, and if the sum is \(a_2+a_3=2n-6\), we obtain \(a_1=n-2\), again a contradiction.
Let \(h\ge 4\). Maximizing \(a_2+a_3+\cdots +a_h\), from \(\sum a_i = \sum \alpha _i\) we obtain
$$ a_1=\frac{2n+h^2-18}{2}. $$Checking if \(a_1<a_2=n-h-2\), we derive that \(h^2+h-14<0\), a contradiction if \(h\ge 4\).
\(\square \)
Let us address the case \(d\in \lambda \). Recall that, in this case, by Remark 1 we have \(h\in \{j,j+1\}\).
Proposition 2.12
Let \(\lambda = (\lambda _1,\lambda _2, \dots , \lambda _t)\in \widetilde{\mathbb {U}}_{T_{n,d}}\) be such that \(\lambda _t=2n-5\) and \(d\in \lambda \). If \(h=j,\) then \(d=4,\) n is even and such a partition is unique. If \(h=j+1,\) then for each \(1\le k\le \lfloor (n-4)/2\rfloor \) there exists \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\) with \(d=n-2k\).
Proof
Let us assume that \(h=j\). Since, by Remark 2, \(\alpha _{h-1}=d\) and \(\alpha _{h}=2n-5\) are already fixed, then \(a_{h-1}\) and \(a_h\) are parts of the free area. Notice that the free area cannot contain more than three parts.
Let us first assume that it only contains two parts, i.e.,
Let \(h=2\). We must have \(a_1+a_2=2n-5+d\). In the case when \((a_1,a_2)=(n-1,n)\) we obtain \(d=4\). which is the claim, since the corresponding partition \(\lambda =(1,2,\ldots ,n-2,2n-5)\) is unrefinable. In all the other cases we obtain either \(0<d<4\) which, by Propositions 2.4, 2.6 and 2.9, contradicts the maximality of \(\lambda \), or \(d\le 0\) which is also a contradiction.
Let \(h=3\). From \(\sum a_i = \sum \alpha _i\), we have
Considering the maximal choice \((a_2,a_3)=(n-1,n)\) we obtain \(a_1=(2n-9+d)/2<n-5\) when \(d< -1\), a contradiction.
Let \(h\ge 4\). From \(\sum a_i = \sum \alpha _i\) we obtain
Maximizing \(a_2+\cdots +a_{h}\), we have
which satisfies \(a_1<a_2=n-h-2\) when \(h^2+h-14+d<0\), a contradiction when \(h\ge 4\).
Under the assumption that \(h=j\), it remains to consider the case of three parts in the free area, i.e.,
In this case \(a_1,a_2,\ldots ,a_{h-3}\) determine \(\alpha _1,\alpha _2,\ldots ,\alpha _{h-3=j-3}\), while the element \(n+1 \le \alpha _{j-2} \le 2n-6\) is not determined by one of the \(a_i\)s.
Let \(h=3\). We have \(a_1+a_2+a_3=2n-5+d+\alpha _1\), with \(n+1\le \alpha _1\le 2n-5\). If \(a_1=n-2\), we obtain \(d+\alpha _1=n+2\) and so we have the only possibility of \(d=1\) and \(\alpha _1=n+1\), which, by Proposition 2.4, contradicts the maximality of \(\lambda \). In all the other cases we obtain \(d<0\), a contradiction.
Let \(h=4\). From \(\sum a_i = \sum \alpha _i\) we have
and maximizing \(a_2+a_3+a_4\) we obtain \(a_1=(n-7+d+\alpha _2)/2\). Since \(a_1<n-5\), then \(\alpha _2< n-3-d < n-3\), a contradiction.
Let \(h\ge 5\). From \(\sum a_i = \sum \alpha _i\) we have
From the maximal choice of \(a_2+a_3+\cdots +a_{h}\), we obtain
and checking if \(a_1<a_2=n-h-1\) leads to \((\alpha _{h-2}-n)+(h^2-13)+d<0\) which is not compatible with \(h\ge 5\).
This concludes the case \(h=j\).
Let us now address the remaining case \(h=j+1\). In this setting we have only three parts in the free area and the possible choices are those in the set presented in Eq. (7).
Let \(h=3\). We have \(a_1+a_2+a_3=2n-5+d\). In the case \((a_1,a_2,a_3)\in \{(n-3,n-1,n),(n-2,n-1,n)\}\) we obtain \(d>n\), a contradiction. If \((a_1,a_2,a_3)=(n-4,n-2,n)\) or \((n-5,n-2,n-1)\) or \((n-5,n-4,n-3)\) then we obtain respectively \(d=n-1\), \(n-3\) and \(n-7\) which, by Proposition 2.9, contradict the maximality of \(\lambda \). In the other three cases we obtain d equals \(n-2\), \(n-4\) and \(n-6\), or, in other words, \(d=n-2k\) for \(1 \le k \le 3\) as claimed. The remaining cases \(4\le d\le n-8\) are considered by showing partitions obtained in the case \(h=4\).
Let \(h=4\). We have
Notice that, for each choice of \((a_2,a_3,a_4)\) in \(\{(n-2, n - 1, n), (n - 4, n - 3, n), (n - 5, n - 3, n - 1), (n - 5, n - 4, n - 2)\}\), we have that n is even if and only if d is odd, which, by Proposition 2.9, contradicts the maximality of \(\lambda \). In the other four cases, since \(a_1\) is an integer, we obtain that \(d=n-2k\), for some integer k. To prove that for all \(4\le d\le n-8\) there exists \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\), consider for example, the assignment \((a_2,a_3,a_4)=(n-4,n-2,n)\). In this case, from \(\sum a_i = \sum \alpha _i\), we obtain \(a_1=(n-4+d)/2\) which satisfies \(a_1<n-5\) if and only if \(d<n-6\) and the corresponding partition is unrefinable. Indeed, we can violate the refinability only if either \(a_1+a_2=\alpha _1\) or \(a_1+a_3=\alpha _1\) or \(a_1+a_4=\alpha _1\), and this is only possible if \(d\in \{-1,1,3\}\), a contradiction by Propositions 2.4, 2.9 and since \(d>0\).
If \(h\ge 5\), from \(\sum a_i = \sum \alpha _i\) we have
Since \(2n-5\) is odd, we have to consider the parity of \(h-2\), and so of h. If h is even, then we obtain a contradiction for \((a_{h-2},a_{h-1},a_h)\) in \(\{(n-2, n - 1, n), (n - 4, n - 3, n), (n - 5, n - 3, n - 1), (n - 5, n - 4, n - 2)\}\) and \(d=n-2k\) for some positive integer k in the other cases. Instead if h is odd we obtain a contradiction for \((a_{h-2},a_{h-1},a_h)\) in \(\{(n - 3, n - 1, n), (n - 4, n - 2, n)), (n - 5, n - 2, n - 1)), (n - 5, n - 4, n - 3))\}\) and again \(d=n-2k\) for some positive integer k in the other cases. \(\square \)
3 Counting maximal unrefinable partitions
In the previous section we proved the existence of maximal unrefinable partitions with specific parameters. We use those results in the current section to specify all the possible configurations meeting the requirements and therefore counting the corresponding number of partitions. The two cases to be considered are addressed in this section using the same strategy. Therefore, despite the problems have a slightly different combinatorial structure, we try to use a similar notation and terminology in Sect. 3.1 and in Sect. 3.2.
3.1 The case \(\lambda _t=2n-4\)
We have already proved that if \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\), then \(d=3\) or \(d=n-(2k-1)\), for \(1\le k \le \lfloor (n-2)/2\rfloor \). We denote by \((\alpha _1,\ldots ,\alpha _j)\setminus (a_1,\ldots ,a_h)\) the partition \(\lambda \) obtained from \(\pi _{n,d}\) by removing the elements \(a_i\)s and replacing them with the elements \(\alpha _i\)s. We have already shown in the previous section that, when \(h\le 3\), only the following partitions belong to \(\widetilde{\mathbb {U}}_{T_{n,d}}\) (cf. the proof of Proposition 2.9, computing \(\alpha _i\) from the corresponding \(a_i\)):
-
\((3,2n-4)\setminus (n-1,n)\) for \(d=3\),
-
\((n-1,2n-4)\setminus (n-3,n-2,n)\) for \(d=n-1\),
-
\((n-3,2n-4)\setminus (n-4,n-2,n-1)\) for \(d=n-3\),
-
\((n-5,2n-4)\setminus (n-4,n-3,n-2)\) for \(d=n-5\),
-
\((n+1,2n-4)\setminus (n-2,n-1,n)\) for \(d=n-5\) (cf. Proposition 2.8).
Recall that for \(h\ge 4\) we have the following choices for the free area, \((a_{h-2},a_{h-1},a_h)\in \{(n-4,n-3,n-2),(n-4,n-2,n-1),(n-3,n-2,n),(n-2,n-1,n)\}\). From now on, according to Proposition 2.8, we must only consider the case \(d\in \lambda \). Indeed, the only maximal unrefinable partition with \(d\not \in \lambda \) and \(\lambda _t=2n-4\) is the fifth partition in the previous list.
Let \(h=4\). We have
and, assigning all the possible values to \(a_2,a_3,a_4\), we obtain the partitions:
-
\((d,(3n-3-d)/2,2n-4)\setminus ((n-5+d)/2,n-2,n-1,n)\), with \(d<n-5\), otherwise \(a_1\ge a_2\), and \(d\ne 3\), otherwise \(a_1+a_2=\alpha _2\);
-
\((d,(3n-5-d)/2,2n-4)\setminus ((n-3+d)/2,n-3,n-2,n)\), with \(d<n-5\);
-
\((d,(3n-7-d)/2,2n-4)\setminus ((n-1+d)/2,n-4,n-2,n-1)\), with \(d<n-7\);
-
\((d,(3n-9-d)/2,2n-4)\setminus ((n+1+d)/2,n-4,n-3,n-2)\), with \(d<n-9\).
Let \(h\ge 5\). We have
obtained from the maximal choice for \(a_2+a_3+\cdots +a_{h-3}\) and from \(a_{h-2}=n-2\), \(a_{h-1}=n-1\) and \(a_h=n\), which is also the maximal choice in the free area, and we obtain the partition
with \(d<n-(h^2-h-9)\). Notice that \(a_1+a_2 > \alpha _1\), therefore the obtained partition is unrefinable.
All the others, obtained for the remaining possibilities for \(a_2+a_3+\cdots +a_{h-3}\), are obtained by replacing \((a_1,a_2,\ldots ,a_{h-3})\) with \((a_1+i,a_2-i_1,\ldots ,a_{h-3}-i_{h-4})\), where \(i=\sum _{r=1}^{h-4}i_r\) and such that \(a_1+i< a_2-i_1< \cdots < a_{h-3}-i_{h-4}\).
We proceed similarly for the other three choices in the free area. All the results are summarized in Table 1 (displayed at the end of the paper). The first row of the table is Corollary 2.10 and the next four rows are summarized in the following three results.
Corollary 3.1
\(\#\widetilde{\mathbb {U}}_{T_{n,n-1}}=1.\)
Corollary 3.2
\(\#\widetilde{\mathbb {U}}_{T_{n,n-3}}=1.\)
Corollary 3.3
\(\#\widetilde{\mathbb {U}}_{T_{n,n-5}}=2.\)
We are now ready to address the remaining cases, i.e., to compute explicitly the number of partitions \(\#\widetilde{\mathbb {U}}_{T_{n,d}}\) when \(3\le d \le n-7\) and \(d=n-(2k-1)\). Notice that, by Propositions 2.8 and 2.9, we know that \(d\in \lambda \) and that the partition is uniquely determined when we are given n, d and the elements \(a_1,a_2,\ldots ,a_h\) to be removed. Moreover, from Eq. (4) we have four possible choices for the three elements in the free area which are symmetric with respect to \(n-2\), therefore the partitions are determined by the list of the \(a_i\)s which are smaller than or equal to \(n-3\). Only one partition is exceptional with respect to this representation, i.e., the partition
Definition 3.4
Let \(d=n-(2k-1)\) with \(3\le d \le n-7\). Let us define the set of missing parts, for each \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\), which are smaller than or equal to \(n-3\):
Notice that \(\pi \) corresponds to the empty partition \(()\in \widetilde{\mathbb {U}}_{T_{n,3}}^*\) obtained for \(s=0\).
From the previous argument, \(\widetilde{\mathbb {U}}_{T_{n,d}}\) is in one-to-one correspondence with \(\widetilde{\mathbb {U}}_{T_{n,d}}^*\). In order to prove the claimed bijection, let us introduce a partition of the set \(\widetilde{\mathbb {U}}_{T_{n,d}}^*\) which is convenient for our purposes.
Definition 3.5
Let n, d and h be positive integers. Let us define
and
Reading Table 1, we can note that
Analogously, let us now introduce a convenient partition of \(\mathbb D_{r}\), that we will prove to be related with that of Definition 3.5.
Definition 3.6
Let r and s be positive integers. Let us define
It is clear that
Finally, let us define the following correspondence from \(\widetilde{\mathbb {U}}_{T_{n,d}}^*\setminus \left\{ \mathcal {A}_{n,d,4} \cup \{() \}\right\} \) to \(\mathbb D\). We will discuss later how to extend the values of the function on the partitions of \(\left\{ \mathcal {A}_{n,d,4} \cup \{() \}\right\} \).
Definition 3.7
Let us denote
The two following propositions will be used in Theorem 3.10 to prove the part of our main statement, introduced in Sect. 1.2, concerning the case \(\lambda _t=2n-4\).
Proposition 3.8
Let \(d=n-(2k-1)\) such that \(3\le d\le n-7\) and \(h \ge 5\). Then \(\phi \) sends bijectively \(\mathcal {A}_{n,d,h}\) into \(\mathcal {A}_{k,h-3}^*\).
Proof
Let us start by proving that the correspondence is well defined, i.e., if \(\eta \in \mathcal {A}_{n,n-(2k-1),h}\), then \(\phi (\eta )\in \mathcal {A}_{k,h-3}^*\). Let \(\eta \in \mathcal {A}_{n,n-(2k-1),h}\). Then, by Table 1,
for some positive integers \(i,i_1\ge i_2\ge \cdots \ge i_{h-4}\) such that \(i=\sum _{j=1}^{h-4}i_j\). By definition of \(\phi \) we have
Notice that \(|\phi (\eta )|=h-3\), \(\phi (\eta )_1\ge 3\) and that \(\phi (\eta )\vdash k\). Therefore \(\phi (\eta )\in \mathcal {A}_{k,h-3}^*\).
Notice also that \(\phi \) is trivially injective and so, in order to conclude the proof, it remains to prove that \(\phi \) is surjective from \(\mathcal {A}_{n,n-(2k-1),h}\) to \(\mathcal {A}_{k,h-3}^*\). For this purpose, let \(\rho =(\rho _1,\rho _2,\ldots ,\rho _{h-3})\in \mathcal {A}_{k,h-3}^*\). Then the general expression for such \(\rho \) is
for some positive integers \(i,i_1\le i_2 \le \cdots \le i_{h-4}\) such that \(i=\sum _{j=1}^{h-4}i_j\). It is easy to see that
is such that \(\phi (\eta )=\rho \). We need to prove that \(\eta \in \mathcal {A}_{n,n-(2k-1),h}\). We have
which, from Table 1, is exactly the generic form of a partition in \(\mathcal {A}_{n,n-(2k-1),h}\). \(\square \)
Similar computations lead to the corresponding results for \(\mathcal {B}^*\), \(\mathcal {C}^*\) and \(\mathcal {D}^*\). Precisely:
Proposition 3.9
Let \(d=n-(2k-1)\) such that \(3\le d\le n-7\) and \(h \ge 5\). Then \(\phi \) sends bijectively
-
(1)
\(\mathcal {B}_{n,n-(2k-1),h}\) into \(\mathcal {B}_{k,h-2}^*,\)
-
(2)
\(\mathcal {C}_{n,n-(2k-1),h}\) into \(\mathcal {C}_{k,h-2}^*,\)
-
(3)
\(\mathcal {D}_{n,n-(2k-1),h}\) into \(\mathcal {D}_{k,h-1}^*\).
Moreover, in the case \(h=4\) we have
-
(1)
\(\mathcal {B}_{n,n-\left( 2k-1\right) ,4}\overset{\phi }{\longleftrightarrow }\{(1,k-1)\}=\mathcal {B}_{k,2}^*,\)
-
(2)
\(\mathcal {C}_{n,n-\left( 2k-1\right) ,4}\overset{\phi }{\longleftrightarrow }\{(2,k-2)\}=\mathcal {C}_{k,2}^*,\)
-
(3)
\(\mathcal {D}_{n,n-\left( 2k-1\right) ,4}\overset{\phi }{\longleftrightarrow }\{(1,2,k-3)\}=\mathcal {D}_{k,3}^*.\)
Remark 3
Notice that \(\mathcal {A}_{n,d,4}\) contains only the (trivial) partition \(\tilde{\eta }\mathop {=}\limits ^{\text {def}}\left( \frac{n-5+d}{2}\right) \), and so, extending the function \(\phi \) on \(\mathcal {A}_{n,d,4}\) implies to consider the (trivial) partition of k in a single part, i.e., \(\phi (\tilde{\eta }) = (k)\). Similarly, with an abuse of notation we can assume \(() \overset{\phi }{\mapsto }\ ()\). This extends the definition of \(\phi \) also on \(\left\{ \mathcal {A}_{n,d,4} \cup \{() \}\right\} \), making the function defined on the whole set \(\widetilde{\mathbb {U}}_{T_{n,d}}^*\).
We can finally summarize the above results. From Propositions 3.8, 3.9, Remark 3 and from Eq. (9) we obtain:
Theorem 3.10
Let \(d=n-(2k-1)\) be such that \(3\le d\le n-7\). Then
Proof
Let us assume first that \(4\le d\le n-7\). Then, since the empty partition () appears only in the case \(d=3\) which is not considered, we have [cf. Eq. (8)]
from which we obtained the desired claim. In the remaining case \(d=3\), we proceed in the same way and, using the corresponding description of Eq. (8), we obtain
\(\square \)
3.2 The case \(\lambda _t=2n-5\)
We can now count the number of maximal unrefinable partitions in the case of \(\lambda _t=2n-5\). Using the same notation as in Sect. 3.1, we proceed with a similar argument, despite the increased combinatorial complexity of the problem. We have already proved that if \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\), then \(d=n-2k\), for \(1\le k \le \lfloor (n-4)/2\rfloor \). Moreover, we have already proved in Sect. 2.4 that, when \(h\le 3\), only the following partitions belong to \(\widetilde{\mathbb {U}}_{T_{n,d}}\) (cf. the proof of Proposition 2.12):
-
\(\left( 4,2n-5\right) \setminus \left( n-1,n\right) \) for \(d=4\),
-
\(\left( n-2,2n-5\right) \setminus \left( n-4,n-3,n\right) \) for \(d=n-2\),
-
\(\left( n-4,2n-5\right) \setminus \left( n-5,n-3,n-1\right) \) for \(d=n-4\),
-
\(\left( n-6,2n-5\right) \setminus \left( n-5,n-4,n-2\right) \) for \(d=n-6\),
-
\(\left( n+1,2n-5\right) \setminus \left( n-3,n-1,n\right) \) for \(d=n-6\) (cf. Proposition 2.11).
For \(h\ge 4\) we have the following eight choices for the free area, i.e.,
Also in this case, we only consider the case \(d \in \lambda \) (cf. Proposition 2.11), indeed the only maximal unrefinable partition with \(\lambda _t=2n-5\), obtained assuming \(d \notin \lambda \) is the last of the previous list.
Let \(h=4\). Since n is even if and only if d is even, and since, from \(\sum a_i = \sum \alpha _i\), we can calculate
then \(a_2+a_3+a_4\) is even if and only if n is even. Therefore, the only possible choices compliant with the previous requirement are
We obtain the partitions
-
\(\left( d,{(3n-4-d)}/{2},2n-5\right) \setminus \left( {(n-6+d)}/{2},n-3,n-1,n\right) \), with \(d<n-6\), otherwise \(a_1\ge a_2\), and \(d\ne 4\), otherwise \(a_1+a_2=\alpha _2\);
-
\(\left( d,{(3n-6-d)}/{2},2n-5\right) \setminus \left( {(n-4+d)}/{2},n-4,n-2,n\right) \), with \(d<n-4\);
-
\(\left( d,{(3n-8-d)}/{2},2n-5\right) \setminus \left( {(n-2+d)}/{2},n-5,n-2,n-1\right) \), with \(d<n-8\);
-
\(\left( d,{(3n-12-d)}/{2},2n-5\right) \setminus \left( {(n+2+d)}/{2},n-5,n-4,n-3\right) \), with \(d<n-12\).
If \(h\ge 5\), we need to distinguish the two cases h odd and h even, as already observed at the end of Proposition 2.12. The only difference between the two cases is in the triple \((a_{h-2},a_{h-1},a_{h})\) to be chosen in the free area. Let \(h\ge 5\), h odd. We have
obtained from the maximal choice for \(a_2+a_3+\cdots +a_{h-3}\) and from \(a_{h-2}=n-2\), \(a_{h-1}=n-1\) and \(a_h=n\), which is also the maximal choice in the free area, and we obtain the partition
with \(d\le n-\left( h^2-11\right) \). Notice that \(a_1+a_2 > \alpha _1\), therefore the obtained partition is unrefinable. The remaining cases for h are treated analogously.
All the other partitions, obtained for the remaining possibilities for \(a_2+a_3+\cdots +a_{h-3}\), are obtained by replacing \((a_1,a_2,\ldots ,a_{h-3})\) with \((a_1+i,a_2-i_1,\ldots ,a_{h-3}-i_{h-4})\), where \(i=\sum _{r=1}^{h-4}i_r\) and such that \(a_1+i< a_2-i_1< \cdots < a_{h-3}-i_{h-4}\).
We proceed similarly for the other seven choices in the free area. All the results are summarized in Table 2 (displayed at the end of the paper), and the following consequences are easily noted.
Corollary 3.11
\(\#\widetilde{\mathbb {U}}_{T_{n,n-2}}=1\).
Corollary 3.12
\(\#\widetilde{\mathbb {U}}_{T_{n,n-4}}=1\).
Corollary 3.13
\(\#\widetilde{\mathbb {U}}_{T_{n,n-6}}=2\).
As in the previous section, it remains to compute \(\#\widetilde{\mathbb {U}}_{T_{n,d}}\) when \(4\le d \le n-8\) and \(d=n-2k\). Notice that the partition is uniquely determined when we are given n, d and the list of the \(a_i\)s which are smaller than or equal to \(n-3\). Only one partition is exceptional with respect to this representation, i.e., the partition
The following definition is the counterpart of Definition 3.4 for the case under consideration here. The defined set will be again in one-to-one correspondence with \(\widetilde{\mathbb {U}}_{T_{n,d}}\).
Definition 3.14
Let \(d=n-2k\) with \(4\le d \le n-8\). Let us define the set of missing parts, for each \(\lambda \in \widetilde{\mathbb {U}}_{T_{n,d}}\), which are smaller than or equal to \(n-3\):
Notice that \(\tau \) corresponds to the empty partition \(()\in \widetilde{\mathbb {U}}_{T_{n,4}}^*\) obtained for \(s=0\).
Notice that when \(h \ge 5\) we have (cf. Table 2)
for some \(t\in \mathbb {Z}\). Since the numerator must be even, we have that h is even if and only if t is even. From this, we obtain a convenient partition of the set \(\widetilde{\mathbb {U}}_{T_{n,d}}^*\), similar to that introduced in Sect. 3.1, but which takes into account also the parity of h.
Definition 3.15
Let n, d and h be positive integers. If h is odd, let us define
Moreover
If h is even, let us define
Moreover
Finally, let us denote
Reading Table 2, we can note that
The sets defined next play in this section the same role of those defined in Definition 3.6.
Definition 3.16
Let n, d and h be positive integers. If h is odd, let us define
If h is even, let us define
In the following definition we adapt the description of \(\phi \) (cf. Definition 3.7) to the current representation of \(\widetilde{\mathbb {U}}_{T_{n,d}}^*\).
Definition 3.17
Let us define the following correspondence from \(\widetilde{\mathbb {U}}_{T_{n,d}}^*\setminus \left\{ () \right\} \) to \(\mathbb D\). We will discuss later how to extend the values of the function on the empty partition (). We denote
Proposition 3.18
Let \(d=n-2k\) such that \(4\le d\le n-8\) and \(h\ge 4\). Then, for \(1 \le i \le 4,\) \(\phi \) sends bijectively
-
(1)
\(\mathcal {E}_{n,d,h}^{i}\) into \(\mathcal {E}_{n,d,h}^{i^*},\)
-
(2)
\(\mathcal {F}_{n,d,h}^{i}\) into \(\mathcal {F}_{n,d,h}^{i^*}.\)
Proof
Let us prove that \(\mathcal {E}_{n,d,h}^{1} \overset{\phi }{\leftrightarrow }\mathcal {E}_{n,d,h}^{1^*}\). The other claims can be proved in the same way. Let us start by proving that the correspondence is well defined, i.e., if \(\eta \in \mathcal {E}_{n,d,h}^{1}\), then \(\phi (\eta )\in \mathcal {E}_{n,d,h}^{1^*}\). Let \(\eta \in \mathcal {E}_{n,d,h}^{1}\). Then, by Table 2,
for some positive integers \(i,i_1 \ge i_2\ge \cdots \ge i_{h-4}\) such that \(i=\sum _{j=1}^{h-4}i_j\). By definition of \(\phi \) we have
Notice that \(|\phi (\eta )|=h-3\), \(\phi (\eta )_1\ge 4\) and that \(\phi (\eta )\vdash k+(h-1)/2\). Therefore \(\phi (\eta )\in \mathcal {E}_{n,d,h}^{1^*}\).
Notice also that \(\phi \) is trivially injective and so, in order to conclude the proof, it remains to prove that \(\phi \) is surjective from \(\mathcal {E}_{n,d,h}^{1}\) to \(\mathcal {E}_{n,d,h}^{1^*}\). For this purpose, let \(\rho =(\rho _1,\rho _2,\ldots ,\rho _{h-3})\in \mathcal {E}_{n,d,h}^{1^*}\). Then the general expression for such \(\rho \) is
for some positive integers \(i,i_1\le i_2 \le \cdots \le i_{h-4}\) such that \(i=\sum _{j=1}^{h-4}i_j\). It is easy to see that
is such that \(\phi (\eta )=\rho \). We need to prove that \(\eta \in \mathcal {E}_{n,d,h}^{1}\). We have
which, from Table 2, is exactly the generic form of a partition in \(\mathcal {E}_{n,d,h}^{1}\). \(\square \)
Notice that, as in Proposition 3.9, each of the sets \(\mathcal {F}_{n,d,h}^{i^*}\), with \(h=4\), contains only one partition.
Remark 4
Let \(h=4\) and \(d=n-2k\) be such that \(4\le d\le n-8\). We have
-
(1)
\(\mathcal {F}_{n,d,h}^1 \overset{\phi }{\leftrightarrow }\ \mathcal {F}_{n,d,h}^{1^*} = \left( 1,k+\frac{h}{2}-1\right) \), for \(d \ne 4\),
-
(2)
\(\mathcal {F}_{n,d,h}^2 \overset{\phi }{\leftrightarrow }\ \mathcal {F}_{n,d,h}^{2^*} = \left( 2,k+\frac{h}{2}-2\right) \),
-
(3)
\(\mathcal {F}_{n,d,h}^3 \overset{\phi }{\leftrightarrow }\ \mathcal {F}_{n,d,h}^{3^*} = \left( 3,k+\frac{h}{2}-3\right) \),
-
(4)
\(\mathcal {F}_{n,d,h}^4 \overset{\phi }{\leftrightarrow }\ \mathcal {F}_{n,d,h}^{4^*} = \left( 1,2,3,k+\frac{h}{2}-5\right) \).
We now show how the partitions of \(\mathcal {E}_{n,d,\_}^{i^*}\) and \(\mathcal {F}_{n,d,\_}^{i^*}\) represent a convenient partition of the set \(\mathbb {D}_{k+{(h-1)}/{2}}\), which will be used to prove the claimed bijection.
Proposition 3.19
Let \(d=n-2k\) such that \(4\le d\le n-8\) and \(h\ge 5\) be odd. Then we have
Proof
It follows from Definition 3.16 that each partition in one of the sets in the right side of Eq. (11) is a partition of \(k+{(h-1)}/{2}\) into \(h-3\) distinct parts, therefore we have
To prove the converse, it is enough to notice that the claimed sets form a partition of the set \(\mathbb {D}_{k+{(h-1)}/{2},\, h-3}\), indeed we can write
\(\square \)
We now use Proposition 3.19 to show the claimed bijection related to the case \(\lambda _t=2n-5\) of the main result introduced in Sect. 1.2.
Theorem 3.20
Let \(d=n-2k\) such that \(4 \le d\le n-8\). Then
Proof
Let us start assuming \(d > 4\). We obtain the claim by showing first that \(\widetilde{\mathbb {U}}_{T_{n,d}} \leftrightarrow \bigcup _{i\ge 0} \mathbb {D}_{k+2+i,2+2i}\) and successively that \(\bigcup _{i\ge 0} \mathbb {D}_{k+2+i,2+2i} \leftrightarrow \mathbb {D}_{2(k+1)}^{\,\text{ odd } }\). The first claim follows directly from Proposition 3.19, indeed
Notice that the union in the last equation does not provide any contribution when i is sufficiently large, therefore it represents a finite union of sets. It can be noticed indeed that the largest number of parts that can appear in a partition of \(T_{n,d}\) is approximatively the square root of n, while there is a linear dependence in i between \(k+2+i\) and \(2+2i\).
Let us now prove that \(\bigcup _{i\ge 0} \mathbb {D}_{k+2+i,2+2i} \leftrightarrow \mathbb {D}_{2(k+1)}^{\,\text{ odd } }\). First notice that, if \(\lambda \in \mathbb {D}_{2(k+1)}^{\,\text{ odd } }\), then \(|\lambda |\) is even, therefore the following equation trivially holds
where the last union is again only formally infinite. Let us define
and let us prove that \(\psi \) is bijective. Clearly \(\psi \) is well defined, indeed if \(\lambda \in \mathbb {D}_{k+2+i,\,2+2i}\), then
Let us now prove that \(\psi \) is surjective. Let \(\sigma = \left( \sigma _1, \sigma _2, \dots ,\sigma _{2+2i}\right) \in \mathbb {D}_{2\left( k+1\right) ,\,2+2i}^{\,\text {odd}}\). It is easy to verify that
is such that \(\psi (\rho ) = \sigma \). Since \(\psi \) is trivially injective, the claim is proved for \(d > 4\). In the case \(d=4\), from Eq. (10) we have
The claim is obtained as before, only noticing the empty partition () replaces the partition of \(\mathcal {F}_{n,d,4}^1\), which is not defined when \(d=4\) (cf. Remark 4).
\(\square \)
4 Conclusions and open problems
In this paper we completed the classification of maximal unrefinable partitions started by Aragona et al. [1]. Now we have that, if N is the triangular number \(T_n\), then the number of maximal unrefinable partitions of \(T_n\) is one if n is even and coincides with the number of partitions of \((n+1)/2\) into distinct parts if n is odd. If N is non-triangular, i.e., if \(N=T_{n,d}\) for some \(n \ge 11\) and \(1 \le d \le n-1\), from Theorems 3.10 and 3.20 we obtain:
Corollary 4.1
If n is odd, then
Otherwise
The two results are illustrated in Fig. 2, where we list the number of maximal unrefinable partitions for integers included between two consecutive triangular numbers. Precisely, we start from an even integer n and list the number \(\#\widetilde{\mathbb {U}}_{T_{n,d}}\) and the corresponding maximum \(\lambda _t\), for each integer in \(\{s \in \mathbb N \mid T_{n-1} \le s \le T_{n+1}\}\). The same combinatorial structure replicates in other intervals between two consecutive triangular numbers, according to the rules of Theorems 3.10 and 3.20.
4.1 Open problems
The classification of maximal unrefinable partitions has been achieved constructively, by enumerating all the possibilities. It is not clear to the authors if there exists a more concise way to prove the result by means of non-constructive arguments. Moreover, it remains an open question whether results of the same nature, i.e., showing that maximal unrefinable partitions are de facto partitions into distinct parts, applies also when removing the hypothesis of maximality. To our knowledge, very little is known in this sense regarding unrefinable partitions.
Data Availability
No datasets were generated or analysed during the current study.
References
Aragona, R., Campioni, L., Civino, R., Lauria, M.: On the maximal part in unrefinable partitions of triangular numbers. Aequat. Math. 96(6), 1339–1363 (2022)
Aragona, R., Campioni, L., Civino, R., Lauria, M.: Verification and generation of unrefinable partitions. Inf. Process. Lett. 181, 106361 (2023)
Aragona, R., Civino, R., Gavioli, N., Scoppola, C.M.: Regular subgroups with large intersection. Ann. Mat. Pura Appl. 198(6), 2043–2057 (2019)
Aragona, R., Campioni, L., Civino, R., Lauria, M.: Rigid commutators and a normalizer chain. Monatsh. Math. 196(3), 431–455 (2021)
Aragona, R., Campioni, L., Civino, R., Lauria, M.: Unrefinable partitions into distinct parts in a normalizer chain. Discrete Math. Lett. 8, 72–77 (2022)
Andrews, G.E., Newman, D.: Partitions and the minimal excludant. Ann. Comb. 23(2), 249–254 (2019)
Fraenkel, A.S., Peled, U. Harnessing the unwieldy MEX function. In: Games of No Chance 4, Mathematical Sciences Research Institute Publications, vol. 63, pp. 77–94. Cambridge University Press, New York (2015)
Hopkins, B., Sellers, J.A., Stanton, D.: Dyson’s crank and the MEX of integer partitions. J. Comb. Theory A 185, 105523 (2022)
The Online Encyclopedia of Integer Sequences. https://oeis.org. Accessed 11 Jan 2021
Acknowledgements
R. Aragona and R. Civino are Members of INdAM-GNSAGA (Italy). R. Civino is funded by the Centre of Excellence ExEMERGE at the University of L’Aquila. The authors gratefully acknowledge financial support from MUR-Italy through PRIN 2022RFAZCJ “Algebraic Methods in Cryptanalysis”, with full funding provided for L. Campioni.
Funding
Open access funding provided by Università degli Studi dell’Aquila within the CRUI-CARE Agreement.
Author information
Authors and Affiliations
Contributions
All authors participated in the research, wrote and reviewed the manuscript
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Aragona, R., Campioni, L. & Civino, R. The number of maximal unrefinable partitions. Ramanujan J 69, 57 (2026). https://doi.org/10.1007/s11139-026-01335-3
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1007/s11139-026-01335-3




