Preprint
Article

This version is not peer-reviewed.

Conjugation of Colored Compositions

Submitted:

22 December 2025

Posted:

23 December 2025

You are already at the latest version

Abstract
An $n$-color composition is a colored composition in which a part of size $m$ may come in $m$ colors. This paper gives a new set of $n$-color-type compositions that admits exhaustive conjugation of its members. Previous attempts at conjugation of $n$-color compositions have yielded partial results at best. Instead of importing the coloring scheme previously used for partitions, we apply colors directly to the parts of compositions while treating any maximal string of 1's as a single part under color assignment. This leads to the definition of $n$-color compositions of the second kind. As with ordinary compositions a conjugate may be found by the equivalent techniques of symbolic algebra, zig-zag graph and line graph. We conclude with a derivation of the relevant enumeration formulas.
Keywords: 
;  ;  ;  ;  

1. Introduction

A composition of a positive integer n is an ordered partition of n or a sequence of positive integers that sum to n. The summands are also called parts and n is the weight of the composition. For example, n = 3 has four compositions: ( 3 ) , ( 1 , 2 ) , ( 2 , 1 ) and ( 1 , 1 , 1 ) . It is well known that there are 2 n 1 compositions of n (see for example [5,7]).
Colored compositions are generalized compositions in which a part size may come in a prescribed number of types or colors, usually denoted by subscripts, 1 1 , 1 2 , , 2 1 , 2 2 , . In particular, an n-color composition is a colored composition in which a part of size m may come in m colors: m 1 , m 2 , , m m , m 1 ,1]. For example, there are eight n-color compositions of 3, namely
( 3 1 ) , ( 3 2 ) , ( 3 3 ) , ( 1 1 , 2 1 ) , ( 1 1 , 2 2 ) , ( 2 1 , 1 1 ) , ( 2 2 , 1 1 ) , ( 1 1 , 1 1 , 1 1 ) .
The n-color notion originated from a paper of Agarwal and Andrews [2] that investigated combinatorial identities for “partitions with n copies of n”, that is, n-color partitions. Subsequently Agarwal [1] defined n-color compositions and explored their enumeration and combinatorial properties. For instance, he proved that the number of n-color compositions of a positive integer ν is given by F 2 ν , where the Fibonacci numbers are defined by F 1 = F 2 = 1 , F n = F n 1 + F n 2 , n > 2 .
The conjugate of a composition is given by the composition corresponding to the columns of its zig-zag graph, read from left to right. For example, the zig-zag graph of C = ( 5 , 3 , 1 , 2 , 2 ) is shown in Figure 1.
Thus the conjugate C , from Figure 1, is C = ( 1 , 1 , 1 , 1 , 2 , 1 , 3 , 2 , 1 ) . Two further methods of obtaining C are mentioned below.
It appears that the n-color compositions cannot all be conjugated like ordinary compositions! Brian Hopkins [8] made a limited attempt by means of zig-zag graphs and concluded that only certain compositions with odd weights and parts not exceeding 3 may be conjugated. A year later, Collins et al. [6] discussed the topic briefly using tilings of 1-by-n boards with ternary sequences, and gave few instances. However, their technique was rather elusive, and no counting formula was provided. Alanazi et al. [4] undertook a systematic investigation of the topic using n-multicolor compositions with tilings of 1-by-n boards and ternary sequences. They modeled their technique after an extension of MacMahon’s line graph conjugation method, and discovered a remarkably large set of conjugable n-color compositions.
Theorem 1
(Alanazi et al. [4]). The number of conjugable n-color compositions of an integer ν > 0 is given by 2 ν 1 .
However, even in the latter model, a substantial number of objects still escaped conjugation. Note that F 2 ν > 2 ν 1 for all ν > 2 .
Lastly, we refer to a significant 1997 paper of Agarwal and Balasubrananian [3] where the conjugate of an n-color partition λ is defined as the n-color partition λ obtained by replacing each colored part a c by a a c + 1 . The authors used this definition to establish an identity between “n-color partitions where the weighted difference of each pair of parts is 2 ” and “n-color partitions such that in each pair of parts a i , b i ( a b ) b is the arithmetic mean of the subscripts i and j”, among other results.
One may apply this definition to n-color compositions and obtain the conjugate of every object! We will refer to this conjugation as color-complement or simply c-complement. For example, if C = ( 2 2 , 5 2 , 1 1 , 1 1 , 1 1 , 3 1 ) , then the c-complement conjugate is given by C = ( 2 1 , 5 4 , 1 1 , 1 1 , 1 1 , 3 3 ) .
Proposition 1.
The number of c-complement self-conjugate n-color compositions of ν is given by F ν .
Since a c maps to a a c + 1 and c = a c + 1 , self-conjugate parts are odd parts ( a = 2 c 1 ) with each part subscripted by its unique numerical index among increasing odd positive integers. The result then follows from the fact that compositions of ν into odd parts are enumerated by F ν (see [7,11]). For example, C = ( 3 2 , 5 3 , 1 1 , 1 1 , 1 1 , 7 4 ) is c-complement self-conjugate.
Even though c-complement conjugation admits conjugation of every n-color composition C, the parts of C and C remain rigidly the same, and it is not clear how C can be found graphically. Nonetheless, the method holds independent interest and may be gainfully applied to any set of subscripted integer sequences.
This paper introduces a modified set of n-color compositions in which every object has a conjugate in the classical tradition of Percy Alexander MacMahon (1854–1929) who pioneered the topic for ordinary compositions. Whereas standard n-color compositions originated by extending to compositions the coloring scheme used for partitions (see [1,2]), our objects arise from coloring compositions directly. Such colored compositions share the essential property of n-color compositions by requiring that a subscript associated with a part cannot exceed the part.
In Section 2 we profile the new set of conjugable colored compositions with some immediate examples. Then in Section 3 we give further details of three conjugation techniques gleaned from the conjugation of ordinary compositions. Section 4 is devoted to the statement and proof of relvant enumeration formulas. Finally, Section 5 contains additional enumeration results for objects with parts sizes bounded from below.

2. The n-Color Compositions of the Second Kind

It will be convenient to write compositions, symbolically, by representing a maximal string of 1’s of length x by 1 x , where two adjacent big parts (i.e., parts > 1 ) are assumed to be separated by 1 0 . A general composition then has one of the following two forms:
C = ( 1 a 1 , b 1 , 1 a 2 , b 2 , ) , a 1 1 , a i 0 , i > 1 , b i 2 i ;
C = ( b 1 , 1 a 1 , b 2 , 1 a 2 , ) , a i 0 , b i 2 ,
where it is understood in each case that C either ends in 1 a r or b r for some r 1 with a r 1 and b r 2 .
The first or last part of a composition C will also be referred to as a boundary part. Any other part of C is an interior part.
In defining our new set of colored compositions, we will be guided by the conjugation model of P. A. MacMahon for ordinary compositions, that is, every composition C has a unique conjugate C that satisfies the following conditions:
(i) C is obtainable from C via symbolic algebra;
(ii) C is obtainable from the line graph of C , LG ( C ) ; and
(iii) C is obtainable from the zig-zag graph of C.
For example, besides the zig-zag graph technique shown earlier, one may use symbolic algebra and the line graph to obtain C as fo llows.
Firstly, the symbolic algebra conjugation of C = ( 1 a 1 , b 1 , 1 a 2 , b 2 , , 1 a r , b r ) is given by
C = ( a 1 + 1 , 1 b 1 2 , 1 + a 2 + 1 , 1 b 2 2 , 1 + , 1 + a r + 1 , 1 b r 1 ) = ( a 1 + 1 , 1 b 1 2 , a 2 + 2 , 1 b 2 2 , , a r + 2 , 1 b r 1 )
Thus an interior part ( , m , ) , m > 1 conjugates to ( + 1 , 1 m 2 , 1 + ) . We will also refer to m 2 as the number of interior units of m. Note that 2 conjugates to ( + 1 , 1 0 , 1 + ) and so has 0 interior units.
For example, C = ( 5 , 3 , 1 , 2 , 2 ) = ( 5 , 1 0 , 3 , 1 , 2 , 1 0 , 2 ) has the conjugate
C = ( 1 5 1 , 0 + 2 , 1 3 2 , 1 + 2 , 1 2 2 , 0 + 2 , 1 2 1 ) = ( 1 4 , 2 , 1 , 3 , 1 0 , 2 , 1 ) = ( 1 4 , 2 , 1 , 3 , 2 , 1 ) .
For the line graph we use circular nodes separated by bars (instead of line segments separated by dots). Thus we get
LG ( C ) : | | | |
By deleting the bars and placing bars inside the gaps that previously had none, we obtain
LG ( C ) : | | | | | | | |
from which we read off the conjugate as C = ( 1 , 1 , 1 , 1 , 2 , 1 , 3 , 2 , 1 ) .
More details about these conjugation techniques may be found in [9,12].
We now propose an n-color-type scheme that satisfies the three conjugation conditions. Our most significant departure from standard n-color compositions is a negation of the assignment of the color 1 to each part 1 in every maximal string 1 , 1 , , 1 = 1 m , m > 0 . It is known that an ordinary composition generates as many n-color compositions as the product of its parts (see, for example, [13]). For example, ( 1 , 1 , 1 , 2 , 1 , 1 , 3 , 1 ) = ( 1 4 , 2 , 1 2 , 3 , 1 ) generates the following 6 objects.
( 1 1 4 , 2 1 , 1 1 2 , 3 1 , 1 1 ) , ( 1 1 4 , 2 1 , 1 1 2 , 3 2 , 1 1 ) , ( 1 1 4 , 2 1 , 1 1 2 , 3 3 , 1 1 ) , ( 1 1 4 , 2 2 , 1 1 2 , 3 1 , 1 1 ) ( 1 1 4 , 2 2 , 1 1 2 , 3 2 , 1 1 ) , ( 1 1 4 , 2 2 , 1 1 2 , 3 3 , 1 1 ) .
Indeed any composition of the form ( 1 a , 2 , 1 s , 3 , 1 t ) , a , s , t 0 generates exactly 6 n-color compositions.
The coloring scheme proposed here accounts for the fact that the number of colors of a part-size m is dominated by m. But we treat a string of m ones, m > 0 , 1 , 1 , , 1 1 m , as the single part m with respect to color assignment. This is informed by the conjugation of standard compositions in which strings of 1’s translate into big parts.
This makes sense because a boundary string 1 x conjugates into the boundary part x + 1 (which is entitled to r x colors) while an interior string 1 x conjugates into the interior part x + 2 (which is entitled to r x colors). We see that an assignment of just the single color 1 to 1 x , independent of the size of x, is not symmetrical.
This color assignment is also supported by the natural fact that the parts of a composition occur as an ordered sequence. Thus in the proposed model, a colored part 1 c occurs in a composition C C if and only if a corresponding string 1 x , x c , occurs in the ordinary support composition if and only if a string of x colored parts 1 c , , 1 c = 1 c x , actually occur in C C . Thus, for instance, if 1 3 is colored 2 in a composition, these will appear as 1 2 , 1 2 , 1 2 or in the symbolic form 1 2 3 .
Another seemingly unusual assignment is that when 2 occurs as an interior part it has no color (or empty color) denoted by 2 0 . This is justified by the naturally derived conjugation principle:
“a big part bears a positive color if and only if it can be obtained via a symbolic transformation of a string of 1’s with a positive color by conjugation".
It is clear that 2 does not fulfill this condition because it is obtained by transforming a zero string of ones 1 0 under conjugation (see the paragraph immediately following (3)).
Suppose C is a composition of ν . Let R ( b ) and T ( b ) denote the respective sets of possible colors of a boundary and interior big part b C , and let R ( 1 m ) and T ( 1 m ) denote the sets of possible colors of a boundary and interior string of ones 1 m C .
Definition 1.
Let C be an ordinary composition of ν. A conjugable n-Color Composition is any colored composition C C of ν obtained by applying the following color assignments to the parts of C.
If C is a trivial composition, that is, C { ( 1 ν ) , ( ν ) } , then each symbolic part admits ν colors:
  • 1 ν : 1 1 ν , 1 2 ν , , 1 n ν ;
  • ν : ν 1 , ν 2 , , ν ν .
Otherwise,
(i)
R ( 1 m ) = T ( 1 m ) = { 1 , , m } : 1 1 m , 1 2 m , , 1 m m ;
(ii)
R ( b ) = { 1 , , b 1 } , b > 1 : b 1 , b 2 , , b b 1 ;
(iii)
T ( 2 ) = : 2 0 ;
(iv)
T ( b ) = { 2 , , b 1 } , b > 2 : b 2 , b 3 , , b b 2 .
As with ordinary compositions, the LG nodes of a boundary part (or boundary string of 1’s) are read from left to right on the left boundary, and from right to left on the right boundary.
Remark 1.
Note that when standard n-color compositions are defined with respect to sets of colors assigned to the parts of an ordinary composition, we have
R ( 1 m ) = T ( 1 m ) = { 1 } : 1 1 m , m > 0 , R ( b ) = T ( b ) = { 1 , , b } : b 1 , b 2 , , b b , b > 1 .
Using the line graph, colors will be assigned to interior units of interior big parts. Thus an interior part b > 1 represented by b nodes in a line graph is assigned a color only at one of the interior nodes, that is, at one of the 2nd to the ( b 1 ) th nodes:
| c o l o r a b l e   n o d e s |
Secondly, a left boundary part b > 1 is assigned a color only at one of the first b 1 nodes (similarly for a right boundary part):
c o l o r a b l e   n o d e s | , | c o l o r a b l e   n o d e s
On the other hand, it is clear that 2 with the representation has no interior unit. So an interior part 2 bears the color 0. However, a boundary part 2, with a representation of the form | or | , clearly has one colorable node, on the left or on the right, respectively. Consequently, in a nontrivial conjugable n-color composition 2 always takes the boundary form 2 1 and the interior form 2 0 .
Finally, we remark that a string of 1’s, being already units, may be assigned a color at any of its nodes in a line graph.
These facts may also be depicted using a zig-zag graph. For example, consider the composition C = ( 1 a 1 , 2 , 1 a 2 , b 2 , b 3 ) , a 1 , a 2 > 0 , b 2 > 2 , b 3 > 1 . From the zig-zag graph in Figure 2, it is intuitively clear why any of the a 1 (or a 2 ) nodes is colorable, why neither of the 2 interior nodes can be colored, why only the second to the ( b 2 1 ) th nodes are colorable, and why only the last b 3 1 nodes are colorable.
With these coloring rules observed, the conjugate of the resulting colored composition may be obtained by reading the diagram by columns, from left to right.
For example, the conjugable n-color composition
C C = ( 1 2 , 1 2 , 1 2 , 1 2 , 2 0 , 1 3 , 1 3 , 1 3 , 5 3 , 3 1 ) = ( 1 2 4 , 2 0 , 1 3 3 , 5 3 , 3 1 )
has the following zigzag graph representation:
The conjugate is now obtained by reading the zig-zag graph by columns to give C C = ( 5 2 , 5 4 , 1 2 , 1 2 , 1 2 , 2 0 , 1 1 , 1 1 ) = ( 5 2 , 5 4 , 1 2 3 , 2 0 , 1 1 2 ) . The corresponding line graph of C C is
| | | | | | | | |
The line graph of C C is obtained by swapping gaps and bars as with ordinary compositions:
| | | | | | |
Finally, the symbolic algebra technique matches that of ordinary compositions as one may verify by ignoring the colors. Precise details are provided in the next section.
These new colored compositions should be known as n-color compositions of the second kind or simply M-color compositions.
We recap the properties satisfied by an M-color composition C C based on an ordinary support composition C, as follows. The number of parts of C is denoted by | C | .
  • A maximal string of ones 1 u C of length u comes in u colors, always.
  • If C consists of a single part b, then b comes in b colors.
  • If | C | 2 , the part 2 C comes in one color (namely 1 or 0).
  • If | C | 2 and b > 1 is the first or last part of C, then b comes in b 1 colors.
  • If b > 2 is an interior part of C, it comes in b 2 colors.
The number of M-color compositions of ν will be denoted by c c ( ν ) .

3. The Conjugation Involution

We now give a full explanation of the symbolic algebra technique. The trivial compositions conjugate as follows, for any 1 c n :
( 1 c n ) = ( n c ) and ( n c ) = ( 1 c n ) .
We next convert the ordinary composition C in (1) into a conjugable n-color composition C C by assigning colors to the parts in accordance with the definition:
C C = ( 1 u 1 a 1 , b 1 , s 1 , 1 u 2 a 2 , b 2 , s 2 , , 1 u r a r , b r , s r ) , b i > 2 i ,
1 u i a i i , 2 s i b i 1 , i < r , 1 s r b r 1 .
Since the conjugate of C is given by C = ( a 1 + 1 , 1 b 1 2 , a 2 + 2 , 1 b 2 2 , ) (see (3)), we analogously obtain
C C : = ( ( a 1 + 1 ) u 1 , 1 s 1 1 b 1 2 , ( a 2 + 2 ) u 2 + 1 , 1 s 2 1 b 2 2 , , ( a r + 2 ) u r + 1 , 1 s r b r 1 ) .
Alternatively, (showing the occurrence of 2) let
E E = ( 1 1 , b 1 , s 1 , 1 u 2 a 2 , 2 0 , 1 u 3 a 3 , , b r 1 , s r 1 , 1 1 , b r , s r ) ,
where the color sizes are subject to the restrictions in (5). Then the conjugate is
E E : = ( 2 1 , 1 s 1 1 b 1 2 , ( a 2 + 2 ) u 2 + 1 , 1 0 0 , ( a 3 + 2 ) u 3 + 1 , , 1 s r 1 1 b r 1 2 , 3 2 , 1 s r b r 1 ) .
Note that the colors in both C C and E E satisfy the stipulations in the definition since they immediately agree with (5). For example, in C C we have 1 u i ( a i + 1 ) 1 for all i, and 1 s i 1 b i 2 which gives 2 s i b i 1 for i < r , and so forth. Secondly, the conjugation of an interior 2 to 1 0 0 and vice-versa are given by convention. Hence the conjugates in (6) and (7) are well-defined.
It is clear that one may similarly assign colors to the parts of the support composition (2) and obtain analogous symbolic conjugates.
We remark that an M-color composition of ν > 1 cannot be self-conjugate, a fact inherited from ordinary (support) compositions (see [12]).
Example 1.
Consider C C = ( 1 3 4 , 2 0 , 1 2 2 , 7 6 , 4 3 , 1 1 ) = ( 1 3 4 , 2 0 , 1 2 2 , 7 6 , 1 0 0 , 4 3 , 1 1 ) . Then
C C = ( ( 4 + 1 ) 3 , 1 0 2 2 , ( 2 + 2 ) 3 , 1 5 7 2 , ( 0 + 2 ) 0 , 1 2 4 2 , ( 1 + 1 ) 1 ) = ( 5 3 , 1 0 0 , 4 3 , 1 5 5 , 2 0 , 1 2 2 , 2 1 ) = ( 5 3 , 4 3 , 1 5 5 , 2 0 , 1 2 2 , 2 1 ) .
Alternatively, we may use the line graph and obtain
LG ( C C ) :
which, by placing division bars only in gaps which previously had none, leads to
LG ( C C ) :
from which the conjugate C C is again seen to be ( 5 3 , 4 3 , 1 5 5 , 2 0 , 1 2 2 , 2 1 ) .
The final approach is to use the the zig-zag graph of C C as shown below, whence C C is obtained by reading the graph by columns.
Figure 3. Zigzag graph of C C = ( 1 3 4 , 2 0 , 1 2 2 , 7 6 , 4 3 , 1 1 ) .
Figure 3. Zigzag graph of C C = ( 1 3 4 , 2 0 , 1 2 2 , 7 6 , 4 3 , 1 1 ) .
Preprints 190981 g003
Example 2.
If ν = 4 , then c c ( 4 ) = 18 which enumerates the following objects (arranged in conjugate pairs):
( 1 1 , 3 1 ) ( 1 1 , 3 2 ) ( 1 1 2 , 2 1 ) ( 1 2 2 , 2 1 ) ( 1 1 , 2 0 , 1 1 ) ( 1 1 4 ) ( 1 2 4 ) ( 1 3 4 ) ( 1 4 4 )
( 2 1 , 1 1 2 ) ( 2 1 , 1 2 2 ) ( 3 1 , 1 1 ) ( 3 2 , 1 1 ) ( 2 1 , 2 1 ) ( 4 1 ) ( 4 2 ) ( 4 3 ) ( 4 4 )

4. Enumeration of M-Color Compositions

We state the main enumeration result.
Theorem 2.
We have
n = 1 c c ( n ) x n = x ( 1 + x 2 x 2 + x 3 ) 1 3 x + 2 x 2 x 3 = x + 4 x 2 + 8 x 3 + 18 x 4 + 42 x 5 + 98 x 6 + .
Proof. 
We refer to the list of properties satisfied by the parts of an M-color composition C given at the end of Section 2.
Let A ( x ) and B ( x ) be the generating functions for numbers of M-color compositions with first part 1 and first part > 1 respectively.
We first consider the following attributes:
(i)
Any maximal string of ones 1 u comes in u colours.
(ii)
There is exactly one colour for 2 (for now).
(iii)
A part b > 2 comes in b 2 colours (for now).
Then A ( x ) is given by an initial block of u ones for which there are u colours, followed by a composition that does not start with 1, that is,
A ( x ) = u 1 u x u B ( x ) = x ( 1 x ) 2 B ( x ) .
Secondly, B ( x ) is given by either the empty composition of 0, or 2 or an initial part b 3 for which there are b 2 colours, followed by an arbitrary composition:
B ( x ) = x 0 + x 2 + b 3 ( b 2 ) x b ( A ( x ) + B ( x ) ) = 1 + x 2 + x 3 ( 1 x ) 2 ( A ( x ) + B ( x ) ) .
Solving the system (9) and (10) yields
A ( x ) + B ( x ) = ( 1 x ) 2 ( 1 x + x 2 ) ( 1 x + x 3 ) ( 1 3 x + 2 x 2 x 3 ) .
Next we account for the further attributes:
(iv)
The integer 2 has a second colour if it is the only part.
(v)
There is an additional colour for each first or last part b 3 .
Thus altogether, (i) to (v) are equivalent to the original conditions (1) to (5) in Section 2.
If we combine the generating functions for (iv) and (v) with Eqn (11), we obtain the full generating function:
A ( x ) + B ( x ) ( objects without additional colours , i . e . , Eqn ( 11 ) ) + x 2 ( sin gle part 2 ) + 2 b 3 x b A ( x ) + B ( x ) ( additional colour for first or last part ) + b 1 3 b 2 3 x b 1 + b 2 A ( x ) + B ( x ) ( additional colours for first and last parts . )
This simplifies to
x 2 + 1 + 2 x 3 ( 1 x ) + x 6 ( 1 x ) 2 ( A ( x ) + B ( x ) ) = x 2 + 1 + 2 x 3 ( 1 x ) + x 6 ( 1 x ) 2 · ( 1 x ) 2 ( 1 x + x 2 ) ( 1 x + x 3 ) ( 1 3 x + 2 x 2 x 3 ) = ( 1 x ) ( 1 x + 2 x 2 x 3 ) 1 3 x + 2 x 2 x 3 = 1 + x ( 1 + x 2 x 2 + x 3 ) 1 3 x + 2 x 2 x 3 .
Hence the proof follows. □
The following recurrence is a routine consequence of the generating function (8), and it may be verified that the explicit formula (13) satisfies the recurrence.
Corollary 1.
We have
c c ( 1 ) = 1 , c c ( 2 ) = 4 , c c ( 3 ) = 8 , c c ( 4 ) = 18 . c c ( n ) = 3 c c ( n 1 ) 2 c c ( n 2 ) + c c ( n 3 ) , n > 4 ,
c c ( 1 ) = 1 , c c ( n ) = 2 j = 0 n 1 2 n + j 3 j + 1 , n > 1 .

5. M -Color Compositions with Parts Bounded Below

Let c c ( ν P ) denote the number of M-color compositions of ν that satisfy property P, and let the c c ( ν , k P ) be the number of those objects wih k parts. We first obtain the generating function for the number of objects without 1’s.
Theorem 3.
We have
n = 4 c c ( n , k no 1 s ) x n = x 4 ( 1 x ) 4 x 2 ( 1 x + x 2 ) ( 1 x ) 2 k 2 , k 2 .
n = 0 c c ( n no 1 s ) x n = x 2 ( 2 x x 2 + x 3 ) 1 2 x + x 3 x 4 .
Proof. 
Note that c c ( n , 1 no 1 s ) = n , n > 1 , that is,
n = 2 c c ( n , 1 no 1 s ) x n = 2 x 2 + 3 x 3 + = x ( 1 x ) 2 x = x 2 ( 2 x ) ( 1 x ) 2 .
When k > 1 , each boundary part b has b 1 possible colors and each interior part b has b 2 colors, while 2 has precisely one color either way. Thus the decomposition is
( x 2 + 2 x 3 + 3 x 4 + ) ( x 2 + x 3 + 2 x 4 + 3 x 5 + ) k 2 ( x 2 + 2 x 3 + 3 x 4 + )
= ( x ( 1 + 2 x 2 + 3 x 3 + ) ) 2 ( x 2 ( 1 + x + 2 x 2 + 3 x 3 + ) ) k 2
= x 2 ( 1 x ) 2 2 x 2 1 + x ( 1 x ) 2 k 2
n = 4 c c ( n , k no 1 s ) x n = x 4 ( 1 x ) 4 x 2 ( 1 x + x 2 ) ( 1 x ) 2 k 2 , k 2 .
Therefore,
n = 1 c c ( n no 1 s ) x n = x 2 ( 2 x ) ( 1 x ) 2 + x 4 ( 1 x ) 4 k = 2 x 2 ( 1 x + x 2 ) ( 1 x ) 2 k 2
= x 2 ( 2 x x 2 + x 3 ) 1 2 x + x 3 x 4 .

The Case of Objects with Parts 3

We prove the following assertion.
Theorem 4.
Let t > 2 be an integer. Then
n = 4 c c ( n , k parts t ) x n = x t ( t ( t 2 ) x 1 ) ( 1 x ) 2 2 x t ( t ( t 3 ) x 2 ) ( 1 x ) 2 k 2 , k 2 .
n = 0 c c ( n parts t ) x n = x t ( x t ( t 1 ) x + t ) ( 1 x ) 2 x t ( t ( t 3 ) x 2 ) , t > 2 .
Proof. 
First note that c c ( n , 1 parts t ) = n , n t , that is,
n = t c c ( n , 1 parts t ) x n = t x t + ( t + 1 ) x t + 1 + ( t + 2 ) x t + 2 + = i = 1 i x i i = 1 t 1 i x i = x ( 1 x ) 2 x + x t ( ( t 1 ) x t ) ( 1 x ) 2 = x t ( t ( t 1 ) x ) ( 1 x ) 2 .
When k > 1 , each boundary part b > 2 has b 1 possible colors and each interior part b > 2 has b 2 colors. Thus the decomposition is
( ( t 1 ) x t + t x t + 1 + ) ( ( t 2 ) x t + ( t 1 ) x t + 1 + t x t + 2 + ) k 2 ( ( t 1 ) x t + t x t + 1 + ) = x ( ( t 1 ) x t 1 + t x t + ) 2 x 2 ( ( t 2 ) x t 2 + ( t 1 ) x t 1 + t x t + ) k 2 = x t ( t ( t 2 ) x 1 ) ( 1 x ) 2 2 x t ( t ( t 3 ) x 2 ) ( 1 x ) 2 k 2 .
n = 4 c c ( n , k part t ) x n = x t ( t ( t 2 ) x 1 ) ( 1 x ) 2 2 x t ( t ( t 3 ) x 2 ) ( 1 x ) 2 k 2 , k 2 .
(Note that k 2 implies n 2 t ).
Therefore,
n = t c c ( n parts t ) x n = x t ( t ( t 1 ) x ) ( 1 x ) 2 + x t ( t ( t 2 ) x 1 ) ( 1 x ) 2 2 k = 2 x t ( t ( t 3 ) x 2 ) ( 1 x ) 2 k 2 = x t ( t ( t 1 ) x ) ( 1 x ) 2 + x 2 t ( t ( t 2 ) x 1 ) 2 ( 1 x ) 4 ( 1 x ) 2 ( 1 x ) 2 x t ( t ( t 3 ) x 2 ) = x t ( t ( t 1 ) x ) ( 1 x ) 2 + x 2 t ( t ( t 2 ) x 1 ) 2 ( 1 x ) 2 ( ( 1 x ) 2 x t ( t ( t 3 ) x 2 ) ) = x t ( x t ( t 1 ) x + t ) ( 1 x ) 2 x t ( t ( t 3 ) x 2 ) .

6. Discussion

This research introduces a new set of colored compositions endowed with the classical conjugation property of ordinary compositions. Furthermore, there is an enumerative generating function and an explicit computational formula. The results were based directly on the inherent symmetry of compositions. It is worth noting that these M-color compositions also form an interesting class of combinatorial objects in their own right, even without recourse to conjugation. They are expected to become rich objects of research in future. For example, it might be rewarding to examine pattern avoidance questions in the set of M-color compositions. The results of this work will probably be regarded as a significant contribution to the literature of number theory and combinatorics.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The colored compositions studied in this paper were computed mostly using the computer algebra system Maple [10]. The relevant codes may be obtained from the author on request.

Acknowledgments

The author thanks Professor Stephan Wagner for generously providing the proof of Theorem 2.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. A. K. Agarwal, n-color compositions, Indian J. Pure Appl. Math. 2000, 31, 1421–1427.
  2. Agarwal, A.K.; Andrews, G.E. Rogers-Ramanujan identities for partitions with “N copies of N. J. Combin. Theory Ser. A 1987, 45, No., 40–49. [Google Scholar] [CrossRef]
  3. Agarwal, A.K.; Balasubramanian, R. n-color partitions with weighted differences equal to minus two. Internat. J. Math. and Math. Sci. 1997, 20(4), 759–768. [Google Scholar] [CrossRef]
  4. Alanazi, A. M.; Archibald, M.; Munagi, A. O. Multicolor Compositions and Conjugation of N-Color Compositions. Contrib. Discrete Math 2024, 19(3), 68–85. [Google Scholar] [CrossRef]
  5. Andrews, G. E. The Theory of Partitions, Addison-Wesley, Reading 1976; reprinted; Cambridge University Press: Cambridge, 1984, 1998. [Google Scholar]
  6. Collins, A.; Dedrickson, C.; Wang, H. Binary words, n-color compositions and bisection of the Fibonacci numbers. Fibonacci Quart. 2013, 51(2), 130–136. [Google Scholar] [CrossRef]
  7. Heubach, S.; Mansour, T. Combinatorics of Compositions and Words, Discrete Mathematics and its Applications (Boca Raton); CRC Press: Boca Raton, FL, 2010. [Google Scholar]
  8. Hopkins, B. Spotted tilings and n-color compositions. Integers 2012, 12B, A6. [Google Scholar]
  9. MacMahon, P.A. : Combinatory Analysis. Cambridge University Press: Cambridge, 1915; Volume 1. [Google Scholar]
  10. Maple 2020.2. Maplesoft, a division of Waterloo Maple Inc.: Waterloo, Ontario.
  11. Munagi, A. O. Euler-type Identities for integer compositions via zig-zag graphs. Integers 2012, 12 A60, 10pp. [Google Scholar]
  12. Munagi, A. O. Primary classes of compositions of numbers. Ann. Math. Inform. 2013, 41, 193–204. [Google Scholar]
  13. Shapcott, C. C-color compositions and palindromes. Fibonacci Quart. 2012, 50, 297–303. [Google Scholar] [CrossRef]
Figure 1. Zig-zag graph of ( 5 , 3 , 1 , 2 , 2 ) .
Figure 1. Zig-zag graph of ( 5 , 3 , 1 , 2 , 2 ) .
Preprints 190981 g001
Figure 2. Zigzag graph of ( 1 a 1 , 2 , 1 a 2 , b 2 , b 3 ) , a i , b i > 1 .
Figure 2. Zigzag graph of ( 1 a 1 , 2 , 1 a 2 , b 2 , b 3 ) , a i , b i > 1 .
Preprints 190981 g002
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.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2025 MDPI (Basel, Switzerland) unless otherwise stated