1 Introduction

In a 1969 paper, [2], Andrews characterized the type of partition sets that could be set into a bijection using Euler’s classical trick to show that partitions of n into distinct parts are as many as partitions of n into odd parts. In particular, Andrews proved that an identity of Schur ([12]) and one of Göllnitz ([10]) provide examples of “Euler-pairs”. Inspired by that paper, here we look at one of the identities given in [6], see also [8]. We study the bijection provided by Alladi et al. in [1] and we find new sets of partitions that can be set into a bijection using the same approach. For further details on this subject and some generalizations we refer the reader to [3,4,5, 7, 9].

As the starting point of our research, we consider the partition identity which was proved in [1] and in particular the Concluding Remarks (Section 7), according to which the first Capparelli’s identity (see [7]) can be generalized from modulo 3 to modulo t by means of suitable dilations. In Sect. 2 we find an analytical identity for the partition identity modulo t. This is done using the same method as in [11] to compute the generating functions of the sum side. In Sect. 3 we again look back at [1], this time by generalizing the machinery which led the authors to build up the partition identity. In particular, we study a different class of partition identities which are indexed by two coprime integers s and t. As better clarified in Sect. 3, these two parameters play different roles and actually generalize the roles of \(s=2\) and \(t=3\) in [1]. In the present setting we obtain a new family of partition identities.

2 An analytical identity for an Alladi–Andrews–Gordon bijection

Let n, t be positive integers with \(t>2\) and denote by \({{\mathcal {C}}}(n)_t\) the set of partitions of n with distinct parts that are either divisible by t or congruent to \(t\pm \,1\pmod {2t}\). Furthermore, let \({{\mathcal {D}}}(n)_t\) denote the set of partitions of n with distinct parts larger than 1 that are either divisible by t or congruent to \(\pm \,1\) \(\pmod {t}\) and whose difference is at least \(t+1\), with the following exception: the difference between two adjacent parts can be smaller than \(t+1\) if they are both divisible by t or their sum is divisible by 2t. Alladi et al. proved the following proposition (see [1]).

Proposition 1

\({{\mathcal {C}}}(n)_t\) and \({{\mathcal {D}}}(n)_t\) have the same cardinality.

In the present section we find an analytical expression for the above partition identity. The proof of our result is inspired by the argument in [11]. In accordance with that paper, we provide the following definition.

Definition 2

For a fixed positive integer k, a k-jagged partition is a finite sequence \((a_1,\ldots ,a_m)\) such that \(a_1,\ldots ,a_m\in {\mathbb {Z}}\), \(a_1>0\), and \(a_{i+1}- a_i\ge -k\), for every \(i=1,\ldots ,m-1\).

Clearly, if \(k=0\), we obtain the classical partitions written in weakly increasing order, as in [11]. The set of classical partitions \((b_1,\ldots ,b_m)\) is easily seen to be in bijection with the set of k-jagged partitions \((a_1,\ldots ,a_m)\) by associating \(b_i\) to \(a_i+(i-1)k\); essentially, we add a k-staircase. In the present paper, this bijection plays an important role when passing to generating functions. For our purposes, we now consider a special class of k-jagged partitions.

Definition 3

A k-jagged partition is called strong if it satisfies the condition \(a_{i'}- a_i\ge -k\), for every \(i=1,\ldots ,m\) and \(i'=i+1,\ldots ,m\).

With this definition it is now possible to introduce the key concept we require for our proof.

Definition 4

For each positive integer j and strong k-jagged partition \(\mu \), we define the maximal block \(\mathcal {M}_j\) corresponding to j in the following way. If there is an element \(a_i\) of \(\mu \) such that \(a_i=j\) and with the property that every element before \(a_i\) is smaller than j, then \(\mathcal {M}_j\) is the maximal subsequence of \(\mu \) starting with \(a_i\) whose elements belong to the set \(\{j,j-1,j-2,\ldots ,j-k\}\). If there is no element \(a_i\) satisfying the above conditions, then \(\mathcal {M}_j\) is the empty set.

The maximal blocks are in bijection with the positive integers and it is not hard to see that a given strong k-jagged partition is exactly the juxtaposition of all its maximal blocks. While it seems difficult to work out the general form of a maximal block, in our context such blocks enjoy some additional properties which make their description easy in order to obtain Theorem 5.

Example

We have that

$$\begin{aligned} \mu =(3,5,5,4,5,6,4,3,4,0,-2,5,11) \end{aligned}$$

is a 4-jagged partition and it is not a strong 4-jagged partition. However it is a 8-jagged partition and a strong 8-jagged partition. If we regard \(\mu \) as a strong 8-jagged partition, we have the following maximal blocks:

$$\begin{aligned} \mathcal {M}_3&=(3), \\ \mathcal {M}_5&=(5,5,4,5), \\ \mathcal {M}_6&=(6,4,3,4,0,-2,5), \\ \mathcal {M}_{11}&=(11), \\ \mathcal {M}_j&=\varnothing , \quad \text {for}\; j=1,2,4,7,8,9,10\;\text {and}\; j\ge 12. \end{aligned}$$

Adding the 8-staircase (0, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96) we get the classical partition (3, 13, 21, 28, 37, 46, 52, 59, 68, 72, 78, 93, 107).

In the proof of the following theorem we need some further notation. Let b be a finite subsequence; by \(b^*\) we mean a string of either 0 or more contiguous blocks of b, and by \(b^\bullet \) we mean either the empty string or b itself. For instance, the notation \((6,4,6,3)^*(6,5)^\bullet \) is compatible with any of the following: (6, 5), (6, 4, 6, 3), (6, 4, 6, 3, 6, 4, 6, 3, 6, 4, 6, 3), or (6, 4, 6, 3, 6, 4, 6, 3, 6, 5), but not with (6, 4, 6, 3, 6, 5, 6, 5) or (6, 4, 6, 3, 6, 5, 6, 4, 6, 3).

Theorem 5

Let t be an integer greater than 2 and

$$\begin{aligned} Q(a,b,c,d)=2a^2+\frac{1}{2}b^2+c^2+d^2+2ab+2ac+2ad+bc+bd+cd. \end{aligned}$$

We have

where the left-hand side is the generating function of the partitions with distinct parts congruent to \(0,t-1,t,t+1\pmod {2t}\), and the right-hand side is the generating function of partitions with distinct parts greater than 1 and congruent to \(0, \pm \,1 \pmod t\) such that the difference between consecutive parts is at least \(t+1\) unless they are both \(0 \pmod t\) or their sum is \(0 \pmod {2t}\).

Proof

It is straightforward to see that the infinite product is the generating function of \(\mathcal {C}(n)_t\). With Proposition 1 in mind, it suffices to show that the quadruple sum is the generating function of \(\mathcal {D}(n)_t\). For every positive integer j, the configurations that are not allowed in \(\mathcal {D}(n)_t\) are the following:

  • jj;

  • \(tj-1,tj\);

  • \(tj-1,tj+t-1\);

  • \(tj,tj+1\);

  • \(tj,tj+t-1\);

  • \(tj+1,tj+t-1\);

  • \(tj+1,tj+t\);

  • \(tj+1,tj+t+1\).

If we subtract a t-staircase, we get

  • \(j,j-t\);

  • \(tj-1,tj-t\);

  • \(tj-1,tj-1\);

  • \(tj,tj-t+1\);

  • \(tj,tj-1\);

  • \(tj+1,tj-1\);

  • \(tj+1,tj\);

  • \(tj+1,tj+1\).

Hence, the maximal blocks are the following:

  • \(\mathcal {M}_{tj-1}=(tj-1,tj-t+1)^*(tj-1)^{\bullet }\);

  • \(\mathcal {M}_{tj}=(tj)^*\);

  • \(\mathcal {M}_{tj+1}=(tj+1)^{\bullet }\).

It follows that the generating function is

$$\begin{aligned}&\prod _{j=1}^{\infty }\frac{1+xq^{tj-1}}{1-xq^{tj-1}\cdot xq^{tj-t+1}}\prod _{j=1}^{\infty }\frac{1}{1-xq^{tj}}\prod _{j=1}^{\infty }(1+xq^{tj+1})\\&\quad =\frac{(-xq^{t-1},q^t)_{\infty }(-xq^{t+1},q^t)_{\infty }}{(x^2q^t,q^{2t})_{\infty }(xq^t,q^t)_{\infty }} \\&\quad =\sum _{a=0}^{\infty }\frac{x^{2a}q^{ta}}{(q^{2t},q^{2t})_a}\sum _{b=0}^{\infty }\frac{x^{b}q^{tb}}{(q^t,q^t)_b}\sum _{c=0}^{\infty }\frac{x^{c}q^{(t-1)c}q^{\frac{tc(c-1)}{2}}}{(q^t,q^t)_c}\sum _{d=0}^{\infty }\frac{x^{d}q^{(t+1)d}q^{\frac{td(d-1)}{2}}}{(q^t,q^t)_d} \\&\quad =\sum _{a=0}^{\infty }\sum _{b=0}^{\infty }\sum _{c=0}^{\infty }\sum _{d=0}^{\infty }\frac{x^{2a+b+c+d}q^{4a+4b+2c^2+c+2d^2+3d}}{(q^{2t},q^{2t})_a(q^t,q^t)_b(q^t,q^t)_c(q^t,q^t)_d}. \end{aligned}$$

Now we add a t-staircase which, in terms of generating functions, corresponds to the substitution \(x^m\mapsto x^mq^{\frac{tm(m-1)}{2}}\). Moreover, since we are not interested in taking account of the number of parts, we set \(x=1\) and this gives the result. \(\square \)

Remark 6

For \(t=3\) the sum of the previous proposition gives the same sum obtained in [11] using the substitution \(x\mapsto 1,i\mapsto b, j\mapsto c,k\mapsto d,l\mapsto a\) and also the same sum obtained in [9, Equation (2.6)] using the substitution \(r\mapsto d,s\mapsto c, t\mapsto b,v\mapsto a,q\mapsto q^3,a\mapsto q^{-2}, b\mapsto q^{-4}\).

3 Partition identities for the “s-rate , t-stack” case

As mentioned in the Introduction, in the present section we construct an original class of partition identities which are indexed by two coprime integers s and t, with t odd. Given a partition of a positive integer n into distinct parts, we list its parts in decreasing order, as in [1]. Fix three positive integers nst, with st coprime and greater than 1; denote by \({{\mathcal {C}}}(n)_s^t\) the set of partitions of n with distinct parts multiple of s or multiple of t. Let \(W=\{hs+kt:h,k\in \mathbb {N}\}\) and \(U=\mathbb {N}-W\), where \(\mathbb {N}\) is the set of nonnegative integers. Notice that U is finite because its largest element is \((s-1)(t-1)-1\).

Now denote by \({{\mathcal {D}}}(n)_s^t\) the set of partitions of n with distinct parts \(d_1,\ldots , d_m\), where the elements \(d_{i_1}>d_{i_2}>\cdots >d_{i_p}\) are precisely those not congruent to \(0\pmod t\), and with the following conditions which all parts \(d_i\) must fulfill.

  1. D0.

    Setting

    $$\begin{aligned} \begin{aligned}&f_p=d_{i_p}-(m-i_p)t,\\&f_{p-1}=d_{i_{p-1}}-(m-i_{p-1}-1)t,\\&\qquad \vdots \\&f_{p-h}=d_{i_{p-h}}-(m-i_{p-h}-h)t,\\&\qquad \vdots \\&f_{1}=d_{i_{1}}-(m-i_{1}-p+1)t, \end{aligned} \end{aligned}$$
    (1)

    we require that \(f_p\) be congruent to 0 or \(t\pmod s\), and the same must hold for \(f_i-f_{i+1}\), with \(i=1,\ldots , p-1\).

  2. D1.

    \(d_i\in W\).

  3. D2.

    If \(d_i\equiv 0\pmod t\), then \(d_i>t(m-i)\).

  4. D3.

    If \(d_i - d_{i+r}<t+1\) for some positive integer r, then at least one of the following conditions must be satisfied:

    1. I.

      \(d_i - d_{i+r}\not \equiv 0 \pmod s\) and \(d_i\equiv d_{i+r}\equiv 0 \pmod t\);

    2. II.

      \(d_i - d_{i+r}=sj\) and \(d_i + d_{i+r}\not \equiv \pm sj \pmod {st}\).

Notice that \({{\mathcal {C}}}(n)_2^t\) has a different meaning from \({{\mathcal {C}}}(n)_t\); a similar remark concerns \({{\mathcal {D}}}(n)_2^t\) and \({{\mathcal {D}}}(n)_t\). We are going to prove the following result.

Proposition 7

\({{\mathcal {C}}}(n)_s^t\) and \({{\mathcal {D}}}(n)_s^t\) have the same cardinality.

In order to establish the above proposition we prove a stronger result, namely, Proposition 8, for which some more terminology is needed. We denote by \({{\mathcal {C}}}(n;i_1,\ldots ,i_{t-1},k)_s^t\) the subset of \({{\mathcal {C}}}(n)_s^t\) whose parts are grouped according to their congruence class as follows: \(i_1\) parts congruent to \(s \pmod {st}\), \(\ldots , i_{t-1}\) parts congruent to \((t-1)s \pmod {st}\), k parts larger than \(t(\sum _{j=1}^{t-1}i_j)\) and congruent to \(0 \pmod {t}\). Similarly, set \({{\mathcal {D}}}(n;i_1,\ldots ,i_{t-1},k)_s^t\) to be the subset of \({{\mathcal {D}}}(n)_s^t\) having \(i_h\) parts congruent to \(hs \pmod {t}\), with \(1\le h\le t-1\), and k further parts congruent to \(0 \pmod {t}\). Now we proceed with the proof of the stronger result.

Proposition 8

\({{\mathcal {C}}}(n;i_1,\ldots ,i_{t-1},k)_s^t\) and \({{\mathcal {D}}}(n;i_1,\ldots ,i_{t-1},k)_s^t\) have the same cardinality.

Proof

Given a partition in \({{\mathcal {C}}}(n;i_1,\ldots ,i_{t-1},k)_s^t\), we associate to it a partition in \({{\mathcal {D}}}(n;i_1,\ldots ,i_{t-1},k)_s^t\), with an algorithm that generalizes the classical case \(t=3\) in [1]; also our terminology traces back to that paper. Later we show that such a procedure is reversible.

Let \(\pi \in {{\mathcal {C}}}(n;i_1,\ldots ,i_{t-1},k)_s^t\).

Step 1 Setting \(p=\sum _{j=1}^{t-1}i_j\), split \(\pi \) into the subpartition \(\pi _1=(a_1,\ldots ,a_p)\) of those elements not congruent to \(0 \pmod {t}\) and the subpartition \(\pi _2\) made up of those elements congruent to \(0 \pmod t\). Notice that two elements in \(\pi _1\) have difference sj only if they have sum not congruent to \(\pm sj\pmod {st}\), i.e., they satisfy D3-II. Indeed, suppose we have two parts \(s\alpha , s\beta \in \pi _1\) such that \(s\alpha -s\beta =sj\) and sj. Assuming, by contradiction, that \(s\alpha +s\beta \equiv \pm sj \pmod {st}\), since \(\alpha =\beta +j\) we have either \(2s\beta +sj\equiv sj \pmod {st}\) or \(2s\beta +sj \equiv -sj \pmod {st}\). In the first case \(2\beta \equiv 0 \pmod t\). In the second, likewise, we have \(2\alpha \equiv 0 \pmod t\). Since t is odd, it follows that \(\alpha \) or \(\beta \) are congruent to \(0 \pmod t\), in both cases contradicting the assumption.

Step 2 Split \(\pi _2\) into the subpartitions \(\pi _5\) and \(\pi _4\) consisting, respectively, of those elements larger than tp and those not greater. Set \(\pi _5=(b'_1,\ldots ,b'_k)\) and \(\pi _4=(b''_1,\ldots ,b''_r)\).

Step 3 We construct the t-fold conjugate of \(\pi _4\), in symbols \(\pi _4^*\). If \(\pi _4=\varnothing \), then \(\pi _4^*=\varnothing \). Otherwise, set \(b_1''=u_1t, b_2''=u_2t,\ldots , b_r''=u_rt\), with \(u_1\ge u_2\ge \ldots \ge u_r\); then \(\pi _4^*\) is the partition whose diagram has tr columns. Specifically, consider \(u_r\) rows with cardinality tr, \(u_{r-1}-u_{r}\) rows with cardinality \(t(r-1)\), \(\ldots \) , \(u_2-u_3\) rows with cardinality 2t, \(u_1-u_2\) rows with cardinality t. Notice that the columns, taken as blocks of t columns each, give the elements of \(\pi _4\).

For example, for \(t=7\), if \(\pi _4=(35,14,7)\), divide by 7 each part thus obtaining (5, 2, 1), and then form a diagram by using “blocks” of 7 squares

figure a

by stacking, respectively, 5 blocks, 2 blocks, 1 block, as follows:

figure b

thus getting \(\pi _4^*=(21,14,7,7,7)\).

Step 4 Let \(\alpha _1\ge \alpha _2\ge \cdots \ge \alpha _{u_1}\) where \(\alpha _i\) is the cardinality of the ith row of the diagram associated to \(\pi _4^*\). Add the partitions \(\pi _1\) and \(\pi _4^*\) by adding the corresponding parts \(a_i+\alpha _i\) for \(1\le i\le u_1\) and leaving alone the elements \(a_{u_1+1}\ldots a_p\). Notice that this is possible as \(u_1\le p\), since \(b_1''=u_1t\le tp\). We thus get a new partition \(\pi _6=(a'_1,\ldots ,a'_p)\), with \(a'_i>a'_{i+1}\), for \(i=1,\ldots ,p-1\). This operation either leaves the differences between the parts unchanged or increases them by multiples of t so that condition D3-II still holds. Moreover the condition D0 for the symbols \(a'_i\) in place of \(f_i\) holds; in fact the difference between \(a'_i\) and \(a'_{i+1}\) can be either 0 or t (mod s) and no larger multiples are possible, because of the structure of the diagram.

Step 5 Construct a string \(\pi _5/\pi _6\) by juxtaposing, left to right, first the elements of \(\pi _5\), then those of \(\pi _6\). In this string \(i_h\) parts are congruent to \(hs \pmod {t}\), for \(h=1,\ldots ,t-1\), and k parts congruent to \(0 \pmod {t}\), the latter being larger than tp.

Step 6 Subtract multiples of t to the elements of \(\pi _5/\pi _6\), by obtaining the following new elements:

$$\begin{aligned} {\bar{b}}'_1&=b'_1-(p+k-1)t, \\ {\bar{b}}'_2&=b'_2-(p+k-2)t, \\&\vdots \\ {\bar{b}}'_k&=b'_k-pt, \\ {\bar{a}}'_1&=a'_1-(p-1)t, \\ {\bar{a}}'_2&=a'_2-(p-2)t, \\&\vdots \\ {\bar{a}}'_p&=a'_p-0t. \end{aligned}$$

Notice that while the elements \({\bar{b}}'_i\) remain in a nonincreasing order, this does not necessarily happen for the elements \({\bar{a}}'_i\). To be more precise, the nondecreasing order fails whenever \(a'_i-a'_{i+1}=j<t\). In such a case \({\bar{a}}'_{i+1}={\bar{a}}'_i+t-j>{\bar{a}}'_{i}\). Moreover the elements \({\bar{b}}'_i\) are all strictly positive since they are above the threshold value tp, while the elements \({\bar{a}}'_i\) may be negative.

Step 7 Starting from the string \(S_0=({\bar{b}}'_1,\ldots ,{\bar{b}}'_k,{\bar{a}}'_1,\ldots ,{\bar{a}}'_p)\), we define a recursive algorithm which will lead us to a final string \(S_f\) in k steps. Define the generic i-th step, \(1\le i\le k\). Place \({\bar{b}}'_i\) in the string \(S_{i-1}\) in the rightmost possible position so that all the elements to its left are larger than itself. At the end of the process we get the desired string \(S_f\).

Step 8 Denote by \(c_1,\ldots ,c_{p+k}\) the elements of \(S_f\). We construct the following elements \(d_i\), for \(i=1,\ldots , p+k\):

$$\begin{aligned}&d_1=c_1+(p+k-1)t, \\&d_2=c_2+(p+k-2)t, \\&\ \vdots \\&d_{p+k-1}=c_{p+k-1}+t, \\&d_{p+k}=c_{p+k}. \end{aligned}$$

The difference \(\Delta \) between two elements \(d_i\) and \(d_{i+1}\) that are not congruent to \(0\pmod t\) may be less than \(t+1\) only if \(\Delta \) is a multiple of s and the sum is not congruent to \(\pm \Delta \pmod {t}\).

Instead, if \(d_i\not \equiv 0 \pmod t\) and \(d_{i+1}\equiv 0 \pmod t\) (or vice versa), we have \(d_i=c_i+(p+k-i)t\) and \(d_{i+1}=c_{i+1}+(p+k-i-1)t\). Since \(c_{i+1} -c_i\ge 1\), we deduce that \(d_{i+1} -d_i\ge t+1\).

Notice that D0 holds. Indeed, the elements \(f_i\) obtained from the elements \(d_i\) not congruent to \(0\pmod t\), by the formulas (1), coincide with \(a'_i\) for which we already observed that they satisfy the requirements in Step 4. Therefore this algorithm transforms a partition \(\pi \) in \({{\mathcal {C}}}(n;i_1,\ldots ,i_{t-1},k)_s^t\) into a partition in \({{\mathcal {D}}}(n;i_1,\ldots ,i_{t-1},k)_s^t\) that we denote by \(\pi _3\) again in accordance with [1].

Finally, we only need to show that this procedure is completely reversible. Given a partition \({\tilde{\pi }}\) of n in \({{\mathcal {D}}}(n;i_1,\ldots ,i_{t-1},k)_s^t\) it is trivial to trace back the steps up to Step 5. We thus get a partition of n made of some elements not congruent to \(0\pmod t\) and of some elements congruent to \(0 \pmod {t}\). The set of the first type of elements, consistently with previous notation, we denote by \(\pi _6=(a'_1,\ldots ,a'_p)\), with \(a'_i>a'_{i+1}\), for \(i=1,\ldots ,p-1\). The set of the second type of elements we denote by \(\pi _5=(b'_1,\ldots ,b'_k)\), with \(b'_i>b'_{i+1}\), for \(i=1,\ldots ,k-1\).

Now, check whether \(a_p'\) is congruent to 0 or t modulo s. In the first case do nothing. In the second case create a diagram with one row of t squares. Proceed inductively by creating, in corresponding with each \(a_i'\), a row of squares to be stacked on top of the row corresponding to \(a_{i+1}'\), with the same number of squares of the row corresponding to \(a_{i+1}'\) if \(a_i'\equiv a_{i+1}' \pmod s\); otherwise add t new squares to the row. We thus form a diagram that gives, by using stacks of t columns, the elements of \(\pi _4\) and, using the rows (corresponding to \(\pi _4^*\)), the quantities to be subtracted from the elements of \(\pi _6\), in order to obtain the elements of \(\pi _1\). In this fashion, the partition \(\pi \) in \({{\mathcal {C}}}(n,i_1,\ldots ,i_{t-1},k)_s^t\) is completely reconstructed. \(\square \)

Remark 9

If t is even we can state an analogous proposition, but we must substitute the D3 condition with the following one:

  • D3\('\). If \(d_i - d_{i+r}<t+1\) for some positive integer r, then at least one of the following conditions must be satisfied:

    1. I.

      \(d_i - d_{i+r}\not \equiv 0 \pmod s\) and \(d_i\equiv d_{i+r}\equiv 0 \pmod t\);

    2. II.

      either at least one between \(d_i\) and \(d_{i+r}\) is equal to \(sk\frac{t}{2} + ht\) for some nonnegative integers h and k or \(d_i + d_{i+r}\not \equiv \pm sj \pmod {st}\).

Remark 10

We observe that \({{\mathcal {D}}}(n)_s^t\) and \({{\mathcal {D}}}(n)_t^s\) have the same cardinality, because \({{\mathcal {C}}}(n)_s^t={{\mathcal {C}}}(n)_t^s\).

We conclude this section with some remarks on the particular case \(s=2\).

Remark 11

If \(s=2\), the condition D0 is trivially satisfied.

Proposition 12

Condition D2 is redundant if \(s=2\) and \(t=3\).

Proof

By contradiction, assuming that D2 does not hold, let \(i_0\) be the largest integer such that \(3\mid d_{i_0}\le 3(m-i_0)\) and let \(d_{i_0+h}\) be the next multiple of 3 from left to right — if there is no such multiple, set \(h=m-i_0+1\) and define \(d_{m+1}=0\). Clearly, \(d_{i_0+h}\ge 3(m-i_0-h)+3\). Notice that h must be larger than 1. The \(h-1\) parts between \(d_{i_0}\) and \(d_{i_0+h}\) are all congruent to 1 or \(2 \pmod 3\). Now condition D3 forces the leftmost part to be not larger than \(d_{i_0}-4\) and the rightmost to be not smaller than \(d_{i_0+h}+4\). Furthermore, using condition D3, it is easy to see that every interval of the form \([\alpha ,\alpha +5]\) contains at most 2 this \(h-1\) parts. It follows that there are no more than

$$\begin{aligned} 2\left\lceil \frac{d_{i_0}-4-(d_{i_0+h}+4)+1}{6}\right\rceil \end{aligned}$$

parts of this kind. By hypotheses, if \(h\le m-i_0\) such a number does not exceed \(2\left\lceil \frac{3h-10}{6}\right\rceil \), which is less than \(h-1\), a contradiction. In the remaining case, namely if \(h=m-i_0+1\), the element \(d_m\) might be equal to 2 but the above argument is still valid, using similar calculations, as long as h is even. Instead, if h is odd (necessarily \(h\ge 3\)), we slightly improve the argument. Since \(d_{m-1}\ge 4\), counting the \(h-2\) parts from \(d_{i_0+1}\) to \(d_{m-1}\) leads to the following contradiction:

$$\begin{aligned} 2\left\lceil \frac{d_{i_0}-4-4+1}{6}\right\rceil \le 2\left\lceil \frac{3(h-1)-7}{6}\right\rceil \le h-3\ . \end{aligned}$$

\(\square \)

Notice that for t odd and larger than 3 Condition D2 is necessary.

4 Examples

In this section we give three examples of the bijection described in the previous section.

Example 13

We illustrate an example of the bijection when \(s=2\) and \(t=7\). Let \(\pi =(84,70,66,46,40,38,35,14,10,8,7,4,2)\in {{\mathcal {C}}}(424)_2^7\).

Step 1 Split \(\pi \) in

$$\begin{aligned} \pi _1=(66,46,40,38,10,8,4,2),\quad \pi _2=(84,70, 35, 14, 7). \end{aligned}$$

So \(p=8\) and the threshold is \(tp=56\).

Step 2 Split \(\pi _2\) in

$$\begin{aligned} \pi _5=(84,70), \quad \pi _4=(35, 14, 7), \end{aligned}$$

and hence \(k=2\) and \(r=3\).

Step 3 \(\pi _4=( 35, 14, 7)\mapsto (5,2,1)\)

figure c

which gives the partition \(\pi _4^*=( 21, 14, 7, 7 ,7)\).

Step 4 \(\pi _6=\pi _1+\pi _4^*=(66+21,46+14,40+7,38+7,10+7,8,4,2)=(87,60,47,45,17,8,4,2)\).

Step 5 Form the string \(\pi _5/\pi _6=(84,70,87,60,47,45,17,8,4,2)\).

Step 6 Subtract from the string just obtained multiples of 7 as follows:

Step 7 Starting from the string \(S_0\) obtained in the previous step, move 14 as far right as possible thus obtaining

$$\begin{aligned} S_1=(21,38,18,14,12,17,-4,-6,-3,2). \end{aligned}$$

Next, move similarly the number 21 obtaining

$$\begin{aligned} S_2=(38,21,18,14,12,17,-4,-6,-3,2)=S_f. \end{aligned}$$

Step 8 Now we add again to \(S_f\) the string of multiples of 7 as before

getting the partition \(\pi _3=(101,77,67,56,47,45,17,8,4,2)\in {{\mathcal {D}}}(424)_2^7\) as desired.

We now check that this process is reversible. Given the partition \(\pi _3=(101,77,67,56,47,45,17,8,4,2)\), the steps 8,7,6,5 are easily reversible and lead to \(\pi _5\) and \(\pi _6=(84,70,87,60,47,45,17,8,4,2)\). To recover \(\pi _4\) proceed as follows. Note the position where, starting from the right, we find the first odd part. In our example it is 17 and, correspondingly, we draw a row of 7 squares. Going leftward and ignoring the multiple of 7, we have the sequence (17, 45, 47, 60, 87) that is congruent to (1, 1, 1, 0, 1) modulo 2. For each element with the same parity of the previous one, we draw a row upon the others with the same number of squares than the row below it. For each element with a different parity than the previous one, we draw a row upon the others with 7 squares more than the row below it. This generates the diagram

figure d

that coincides with the diagram in Step 3. In this diagram there are 3 blocks of 7 columns containing 35, 14 and 7 squares, respectively. Hence \(\pi _4=(35,14,7)\). The rows of the diagram give the string (21, 14, 7, 7, 7) which must be subtracted to (87, 60, 47, 45, 17) to get \(\pi _1\).

Example 14

We illustrate an example of the bijection when \(s=3\) and \(t=7\).

Let \(\pi =(91,84,75,63,54,49,39,36,21,18,14,9,3 )\in {{\mathcal {C}}}(556)_3^7\).

Step 1 Split \(\pi \) in

$$\begin{aligned} \pi _1=(75,54,39,36,18,9,3),\quad \pi _2=(91,84,63,49,21,14). \end{aligned}$$

So \(p=7\) and the threshold is \(tp=49\).

Step 2 Split \(\pi _2\) in

$$\begin{aligned} \pi _5=(91,84,63), \quad \pi _4=(49,21, 14), \end{aligned}$$

and hence \(k=3\) and \(r=3\).

Step 3 \(\pi _4=(49,21, 14)\mapsto (7,3,2)\)

figure e

which gives the partition \(\pi _4^*=( 21,21,14,7,7,7,7)\).

Step 4 \(\pi _6=\pi _1+\pi _4^*=(75+21,54+21,39+14,36+7,18+7,9+7,3+7)=(96,75,53,43,25,16,10)\).

Step 5 Form the string \(\pi _5/\pi _6=(91,84,63,96,75,53,43,25,16,10)\).

Step 6 Subtract from the string just obtained multiples of 7 as follows:

Step 7 Starting from the string \(S_0\) obtained in the previous step, move the first 28 as far right as possible thus obtaining

$$\begin{aligned} S_1=(28,14,54,40,28,25,22,11,9,10). \end{aligned}$$

Moving the second 28, we obtain

$$\begin{aligned} S_2=(14,54,40,28,28,25,22,11,9,10). \end{aligned}$$

Finally, moving 14 we get

$$\begin{aligned} S_3=(54,40,28,28,25,22,14,11,9,10)=S_f. \end{aligned}$$

Step 8 Now we add again to \(S_f\) the string of multiples of 7 as before

getting the partition \(\pi _3=(117,96,77,70,60,50,35,25,16,10)\in {{\mathcal {D}}}(556)_3^7\) as desired.

We now check that this process is reversible. Given the partition \(\pi _3=(117,96,77,70,60,50,35,25,16,10)\), the steps 8,7,6,5 are easily reversible and lead to \(\pi _5=(91,84,63)\) and \(\pi _6=(96,75,53,43,25,16,10)\). To recover \(\pi _4\) proceed as follows. Note the position where, starting from the right of \(\pi _6\), we find the first element congruent to 7 (i.e., congruent to 1) modulo 3. In our example it is 10 and, correspondingly, we draw a row of 7 squares. Going leftward, we have the sequence (10, 16, 25, 43, 53, 75, 96) that is congruent to (1, 1, 1, 1, 2, 0, 0) modulo 3. For each element with the same congruence of the previous one mod 3, we draw a row upon the others with the same number of squares than the row below it. For each element with a different congruence than the previous one, we draw a row upon the others with 7 squares more than the row below it. This generates the diagram

figure f

that coincides with the diagram in Step 3. In this diagram there are 3 blocks of 7 columns containing 49, 21 and 14 squares, respectively. Hence \(\pi _4=(49,21,14)\). The rows of the diagram give the string (21, 21, 14, 7, 7, 7, 7) which must be subtracted to (96, 75, 53, 43, 25, 16, 10) to get \(\pi _1\).

Example 15

Consider again \(\pi =(91,84,75,63,54,49,39,36,21,18,14,9,3)\), but now as element in \({{\mathcal {C}}}(556)_7^3\). We show how to obtain the corresponding element of \({{\mathcal {D}}}(556)_7^3\).

Step 1 Now \(\pi _1=(91,49,14)\) and \(\pi _2=(84,75,63,54,39,36,21,18,9,3)\); hence \(p=3\) and the threshold is \(tp=9\).

Step 2 Split \(\pi _2\) in \(\pi _5=(84,75,63,54,39,36,21,18)\) and \(\pi _4=(9,3)\).

Step 3 \(\pi _4=( 9,3)\mapsto (3,1)\) and the diagram is

figure g

which gives the partition \(\pi _4^*=( 6,3,3)\).

Step 4 \(\pi _6=\pi _1+\pi _4^*=(91+6,49+3,14+3)=(97,52,17)\).

Step 5 \(\pi _5/\pi _6=(84,75,63,54,39,36,21,18,97,52,17)\).

Step 6 Subtract from \(\pi _5/\pi _6\) multiples of 3 as follows:

Step 7 Starting from the string \(S_0\) obtained in the previous step and moving the multiples of 3 by the recursive method described before, we get

$$\begin{aligned} S_f=(91,57,51,49,42,36,24,17,9,9). \end{aligned}$$

Step 8 Now we add again to \(S_f\) the string of multiples of 3 as before

getting the partition \(\pi _3 =(118,81,72,67,57,48,33,23,12,9)\in {{\mathcal {D}}}(556)_7^3\) as desired.

Also in this case it is easy to invert the process.