Compositions of positive integers with 2 s and 3 s

: In this article, we consider compositions of positive integers with 2 s and 3 s . We see that these compositions lead us to results that involve Padovan numbers, and we give some tiling models of these compositions. Moreover, we examine some tiling models of the compositions related to the Padovan polynomials and prove some identities using the tiling model ’ s method. Next, we obtain various identities of the compositions of positive integers with 2 s and 3 s related to the Padovan numbers. The number of palindromic compositions of this type is determined, and some numerical arithmetic functions are de ﬁ ned. Finally, we provide a table that compares all of the results obtained from compositions of positive integers with 2 s and 3 s .


Introduction
Studies on compositions have a long and rich history.The first publication on composition was published by Machahon (1854Machahon ( -1924) ) in 1893 entitled "Memoir on the Theory of Compositions of a Number" [1].A composition of a positive integers n is any of positive integers such that ∑ = = G n. Here, the G i s are called the part of the compositions and m denotes the numbers part of compositions.For example, the compositions of 4 are 4, 3 + 1, 1 + 3, 2 + 2, 2 + 1 + 1, 1 + 2 + 1, 1 + 1 + 2 and 1 + 1 + 1 + 1, and their number is 8.The total number of compositions of any positive integer n is well known to be − 2 n 1 [1].There are restricted and unrestricted types of compositions in the literature.Unrestricted integer compositions are vast.The parts of restricted compositions are in a fixed subset G of positive integers and have also received a fair amount of attention [2,3].Heubach and Mansour found generating functions for the number of compositions, avoiding a single pattern or a pair of patterns of length three on the alphabet { } 1, 2 and determining which of them are Wilf-equivalent on compositions.They also derived the number of permutations of a multiset that avoid these same patterns and determined the Wilf equivalence of these patterns on permutations of multisets in [4].Heubach and Mansour gave more detailed information on the subject in their book titled "Combinatorics of Compositions and Words" in [5], in [6], they also studied the generating functions for several counting problems for compositions, palindromic compositions, Carlitz compositions, and Carlitz palindromic compositions with parts in A, respectively.In [7], Savage and Wilf showed that among the compositions of n into positive parts, the number ( ) g n that avoid a given pattern π of three letters is independent of π, found the generating function of { ( )} g n , and it shows that the sequence { ( )} g n is not P-recursive.Alladi and Hoggatt examined palindromic numbers and various identities of the compositions of positive integers with s 1 and 2s in [8].Banderier and Hitczenko studied pairs and m-tuples of compositions of a positive integer n with parts restricted to a subset P of positive integers and obtained some exact enumeration results for the number of tuples of such compositions having the same number of parts as in [9].Chinn and Heubach counted the number of compositions and the number of palindromes of n that do not contain any occurrence of a particular positive integer k, and also found the total number of occurrences of each positive integer among all the compositions of n without occurrences of k in [10].Eger proved a simple relationship between extended binomial coefficients, which are natural extensions of the well-known binomial coefficients, and weighted, restricted integer compositions.Moreover, Eger gave a very useful interpretation of extended binomial coefficients as representing distributions of sums of independent discrete random variables in [11].The earliest papers on restricted compositions are those on compositions with ones and twos, which are given by Alladi and Hoggatt [12,13].The authors in [12,13] discussed the compositions of integers with s 1 and 2s, and they proved that these compositions lead us the Fibonacci numbers.In [14], Sills provided some commentary about the history of partitions, compositions, and Fibonacci numbers.In [15], Gessel and Li studied formulas expressing Fibonacci numbers as sums over compositions, provided a systematic account of such formulas using free monoids, and showed that the number of compositions of n with parts 1 and 2 is the Fibonacci number + F n 1 .In [16], Kimberling studied the enumeration of paths, compositions of integers, and Fibonacci numbers.In [17], Knopfmacher and Robbins worked on binary and Fibonacci compositions.
Although there have been many studies on the combinatorial interpretations of the Fibonacci numbers in the mathematical literature, there have not yet been enough studies on the combinatorial studies for the Padovan numbers.In the present work, we investigate the combinatorial interpretations of the Padovan sequence by considering the compositions of positive integers with 2s and 3s.We introduce some tiling models related to the Padovan numbers, and we prove some results involving various identities for the compositions of positive integers with 2s and 3s.We also give tiling models and certain binomial sums of the Padovan polynomials.Finally, we explore the palindromic representations of the compositions with 2s and 3s, and obtain various results.Let us begin the introduction with the definition of Padovan numbers.
The Padovan sequence { } ≥ P n n 0 is defined by the third-order recurrence: with the initial conditions = P 1 0 , = P 0 1 , and = P 1. 2 The Padovan sequence appears as sequence A000931 on the On-Line Encyclopedia of Integer Sequences [18].Consistency we consider as The first few values of this sequence are 1, 0, 1, 1, 1, 2, 2, 3, 4, 5, 7, 9, 12, 16, 21, 28, 37, 49, 65, 86, 114, 151.Many authors have studied the sequence of Padovan numbers for decades.However, Padovan [19] first defined it formally, and then Stewart [20] gave them the name Padovan numbers.For details, we refer to works; Cerda-Morales investigated new identities for the Padovan numbers in [21].Deveci and Karaduman defined the Padovan p-numbers, and then they obtained their miscellaneous properties such as the generating matrix, the Binet formula, the generating function, the exponential representation, the combinatorial representations, the sums and permanental representation, and also studied the Padovan p-numbers modulo m in [22].İşbilir and Gürses investigated the Padovan (or Cordonnier) and Perrin generalized quaternions, and obtained the new identities for these special quaternions related to matrix forms.They also introduced Binet-like formulae, generating functions, several summation, and binomial properties concerning these quaternions in [23].Soykan investigated the generalized Padovan sequences and deal with, in detail, four special cases, namely, Padovan, Perrin, Padovan-Perrin, and modified Padovan sequences, and presented Binet's formulas, generating functions, Simson formulas, and the summation formulas for these sequences in [24].Yilmaz and Taskara developed the matrix sequences that represent Padovan and Perrin numbers, and by taking into account matrix properties of these new matrix sequences, some behaviors of Padovan and Perrin numbers investigated.Moreover, they presented some important relationships between Padovan and Perrin matrix sequences in [25].
The Fibonacci polynomials are defined in [12] by . In [26], the Padovan polynomial sequence { ( )} ≥ P x n n 0 is defined by a third-order recurrence with the initial conditions ( ) = P x 1 0 , ( ) = P x 0 1 , and ( ) = P x x. 2 For consistency, we consider as ( ) To simplify notation, take ( ) = P x n n .The first few values of this sequence are 1, 0, x, 1, . The recurrence (2) involves the characteristic equation: 3 By α x , β x , and γ x if we denote the roots of the characteristic equation above, we can derive the following equalities: The Binet-like formula for the Padovan polynomials sequence is where There are two different studies on the compositions of positive integers with 2s and 3s in the literature, and on the Padovan numbers.First, Tedford also interpreted the Padovan numbers combinatorially by having them count the number of tilings of an n-strip using dominoes and triominoes, and developed a collection of identities satisfied by the sequence of Padovan numbers using this interpretation in [27].Secondly, Vieira et al. obtained a generalization of the Padovan combinatorial model and introduced the Padovan sequence combinatorial approach in [28].Now, let us give the relation between Padovan numbers and compositions of positive integers with 2s and 3s.Similarly, let us show the relation between Fibonacci numbers and compositions of positive integers with s 1 and 2s.A composition of any positive integer n is a representation of n as a sum of positive integers.For instance, the 16 compositions of 5 are A partition of any positive integer n is a representation of n as a sum of positive integers where the order of the summands is considered irrelevant [14].For instance, the seven partitions of 5 are In 1974, first, Alladi and Hoggatt [8] have considered all the (ordered) representations of a positive integer n as a sum of ones and twos.Denote by C n for positive integer n, the number of compositions of n using only 1 and 2. For example, 2 has two distinct such compositions, 3 has three, and 4 has five; see Table 1.
Compositions with ones and twos are related to the second-order recurrence relations, and it is showed [8] that the number of distinct compositions C n of any positive integer n with ones and twos is the Fibonacci number + F n 1 , for any ∈ + n (for details, see [29,30]).In the present work, we attempt to throw some new light by discussing compositions that lead to the recurrence relations of the Padovan numbers.We restrict our attention to compositions using only twos and Compositions of positive integers with 2s and 3s  3 threes.For example, 3 has one distinct composition and 4 has two.Table 2 shows which components correspond to the Padovan number values.
The present article is organized as follows: We briefly review the importance of and studies on the composition of positive integers in Section 1. Section 2 is devoted to some results from compositions of positive integers with 2s and 3s.In Section 3, we give tiling models for these compositions.Section 4 is devoted to a model or certain binomial sums of the Padovan polynomials.In Section 5, we consider the palindromic representations of the compositions with 2s and 3s, and define an arithmetical function related to these palindromic representations.
Assume that ≥ n 3. Case 1. Pick a composition of n, ending in 2. Deleting this 2 yield a composition of − n 2. Thus, Case 2. Suppose a composition of n, ending in3. Deleting this 3, we obtain a composition of − n 3. Therefore, Using ( 4) and ( 5), ( ) In Theorem 2.2, by ( ) f n , we indicate the total number of 2s in the compositions of n, and by ( ) g n , we indicate the total number of 3s in the compositions of n.For example, ( ) = f 8 7 and ( ) = g 8 6 (Table 2).
Proof.i.As in the preceding proof, we have Proof.We will prove this using the principle of mathematical induction.Its follows from ( ) Assume that the relation is valid for all positive integers less than n.Thus, we obtain ( ) . By Theorem 2.2, we then have Hence, the desired is true for n.So, by the principle of mathematical induction, it is valid for all positive integers.□

A Padovan tiling model of compositions with 2s and 3s
Benjamin and Quinn [31] considered many technical properties for the combinatorial interpretation of special numbers.Tedford [27] have interpreted the Padovan numbers by having them count the number of any n-strip using dominoes ( × 1 2 tiles) and triominoes ( × 1 3 tiles).He proved that the number of the collection of all such tilings for n-strip p n is the nth Padovan numbers.
In the present work, we give a similar tilings model for the weight of such tilings.Theorem 2.1 shows an interesting combinatorial interpretation.To clarify this, suppose we would like to tile a × n 1 board with × 1 2 tiles and × 1 3 tiles.By T n , we denote the number of tiling of a × n 1 board with a tiling of length n.In Figure 1  .So, we can prove the following theorem.
Theorem 3.1.[27,28] The number of tilings of a × n 1 board with × 1 2 tiles and × 1 3 tiles is P n , where ≥ n 1.In other words, = T P.
n n Before proceeding to the proof of the Theorem 3.1, we present Theorem 3.2.
Proof.We will prove the result using the strong induction.Since 2 , the statement is true when = n 0, 1, 2. Now assume it is true for all positive integers (≤k), where So the formula holds when k is even.Consequently, it is valid when = + n k 1.Thus, by the strong induction, the formula is valid for all positive integers n. □ The proof of the Theorem 3.2 is shown according to the Padovan tiling model as follows.
We know that × n 1 board has P n tilings.We focus on the number of tiles in a tiling to count them.Suppose there are exactly j tiles in an arbitrary tiling.Consequently, the − n j 2 tiles can be placed in the j tiling positions in different ways.So, there are . Equating the two counts yields the desired result.Again, we will study a specific case.Let = n 9; see Figure 1.There is one tiling with = j 3 tiles and three with = j 4. So the total number of 9-tilings equals 1 4 5 .Now we consider the weight of a tile.Let us define a × 1 2 tile to be x: .The product of the weights of all tiles in a tiling gives as the weight of the tiling.For example, the weight of the tiling is x 3 , that of the tiling is + x 1 2 , and that of the tiling is x 5 .We define the weight of the empty tiling to be zero.
Figure 2 shows the tilings and the sum of their weights of a × n 1 board.Combinatorially, we can prove the following theorem.On the other hand, assume that the tilings end in × 1 3 tiles; subtiling .The sum of the weight of such tilings equals ( ) .
Hence, the sum of the weights of all tiling of the board equals to ( ) ( ) for ≥ n 4. Thus, ( ) , and that ( )  Proof.We will prove the result using the strong induction.Since 2 , the statement is true when = n 0, 1, 2. Now assume it is true for all positive integers (≤k), where ≥ k 0. By Pascal's identity, we have Compositions of positive integers with 2s and 3s  7 We consider the seven tilings of a × 1 10 board; see Figure 2.There is one tiling with no × 1 3 tiles; its weight is x 5 .There isn't tiling with exactly one × 1 3 tile each.There are six tilings with exactly two × 1 3 tiles each; the sum of their weights is x 6 2 .So, the sum of the weights of the tilings is 10 .In this study, the elements along the rising diagonals in Pascal's triangle give coefficients of the Padovan polynomials.The first few Padovan polynomials are displayed in Figure 3 as well as the array of their coefficients on the Pascal's triangle.Proof.By applying Binet-like formula (6) and combining this with (2), we obtain the identity Thus, the proof is completed.
Proof.By applying Binet-like formula (6) and combining this with (2) we obtain the identity Thus, the proof is completed.□

The palindromic representations of the compositions with 2s and 3s
Now we shift our attention to compositions with special properties.Compositions of n are defined to be "palindromic" are written in reverse order and it remains unchanged.For example, + + 3 2 3 is a palindromic composition of 8, but + + 3 3 2 is not.Let ( ) ψ n denotes the number of palindromic compositions of n with 2s and 3s.
Let us investigate some properties of the function ( ) ψ n .Let us prove that the arithmetic function ( ) ψ n defines a sequence of sixth-order recurrences.

□ 6 Conclusion
In the present work, the combinatorial interpretations of compositions of positive integers with 2s and 3s are investigated.The connection between these compositions and the Padovan numbers is established.The numerous identities of these compositions are obtained.Some tiling models are illustrated for the compositions of positive integers with 2s and 3s.The palindromic representations of the compositions with 2s and 3s are studied, and an arithmetical function related to these palindromic representations is defined.The numerous identities of these compositions are obtained.
A table that compares the first few values of all the results obtained from compositions of positive integers with 2s and 3s is provided as in Table 4.
In future studies, combinatorial interpretations for the sequences defined by higher-order recurrence relations may be considered.Tiling models may be examined for these sequences.

2Theorem 2 . 1 . 1 .n
The results of the compositions with 2s and 3s, and the Padovan numbers The number of distinct compositions CP n of a positive integer n with 2s and s 3 is P n , where ≥ n denote the number of compositions of n that end in 2 and 3, respectively.So, (

10 ,
, the possible tilings of × n 1 board, for ≤ ≤ n 1 are given.From the figure, it is shown that the number of n-tilings T n gives for ∈ + n the nth Padovan number.

Theorem 4 . 1 . 2 2
The sum of the weights of tilings of a × n 1 board with × 1 2 and × 1 3 tiles is the nth Padovan polynomial n , for all ∈ + n .Proof.By ( ) T x n we denote the sum of the weights of tiling of a × n 1 board.Clear that ( ) Let us show that ( ) T x n holds the Padovan polynomial recurrence relation.Now prove this, consider any tiling of the board.Assume that it ends in × 1 2 tiles; subtiling .The sum of the weight of such tiling is equal to ( ) − xT x .n 2 Let us now give the following theorem that can be proved according to the tiling model of Padovan polynomials.
So the formula holds when k is even.Consequently, it is valid when = + n k 1.Hence, by the strong induction, the formula is valid for all positive integers □The proof of Theorem 4.2 is shown according to the Padovan polynomials tiling model as follows.

Table 1 :
Some compositions of integers related to the Fibonacci numbers

Table 2 :
The compositions of with 2s and 3s Theorem 5.1.The arithmetic function ( ) ψ n defines an integers sequence by the recurrence relation

Table 4 :
All representations of the compositions with 2s and 3s