Abstract
The Horadam sequence unifies a number of well-known sequences, such as Fibonacci and Lucas sequences. We use the context-free grammars as a new tool to study Horadam sequences. By introducing a set of auxiliary basis polynomials () and using the formal derivative associated with the Horadam grammar, we solve the convolution coefficients and provide a unified method to discover convolution formulas associated with binomial coefficients. These results are extended to subsequences with indices through a parameterized grammar . Using the modified grammar , we derive convolution formulas involving the weighting term . Furthermore, applying the proposed framework to -Fibonacci and -Lucas sequences, we derive explicit convolution formulas with parameters . The framework is also applied to derive specific identities for Pell and Pell–Lucas numbers, as well as for Fermat and Fermat–Lucas numbers.
MSC:
11B39; 11B83; 05A19
1. Introduction
The Horadam sequence can be defined by
with the initial values and [1]. It unifies a number of well-known sequences; see Table 1 for special cases. It can be seen that two types of Horadam sequences, and , are special. The sequence is called -Fibonacci sequence, and is called -Lucas sequence. In recent years, there have been many extensions of Horadam sequences. Cao and Wang [2] established symmetric inequalities for the reciprocal sums of Fibonacci numbers. Church and Bicknell [3] provided several different binomial convolutions about Fibonacci and Lucas numbers. For ,
Carlitz [4] also showed several binomial convolutions about Fibonacci and Lucas numbers, for example, for ,
See [5,6,7,8,9,10,11] for more binomial identities about Horadam sequences. Some determinantal formulas and recurrence relations about Horadam sequences were given in [12], and the study of properties of polynomial sequences can be found in [13,14,15,16,17,18].
Table 1.
Some special cases of the Horadam sequence.
In [19], we found that the context-free grammar can be used to study Horadam sequences. Many combinatorial polynomials can be studied by grammars, making this method an important tool in combinatorics. The framework of using context-free grammars to generate combinatorial polynomials was proposed by Chen [20]. Using context-free grammars, we developed a general method to deduce determinantal representations of enumerative polynomials [21] and provided three new interpretations of the second-order Eulerian polynomials [22]. The context-free grammar can also be used to discover new combinatorial models and algorithms [16,23], new convolution formulas [23,24], and different expansions and new relationships [16,23,24]. According to [25], an advantage of the grammatical description of a combinatorial sequence is that a recursion of its generating function can be provided by attaching a labeling of the combinatorial object in accordance with the replacement rules of the grammar. According to [26], an advantage of the change in grammars is that the recurrence system of the bi--coefficients of colored Eulerian polynomials can be deduced and the bi--positivity can be shown. More applications of context-free grammars in combinatorics can be found in [27,28,29,30,31].
In this paper, we focus on convolution formulas of Horadam sequences associated with binomial coefficients. The paper is organized as follows: In Section 2, we first recall the Horadam grammar, then collect some explicit formulas for Horadam sequences that will be used in the following discussion. In Section 3, we deduce three kinds of binomial convolution formulas. Section 3.1 presents the main result of this paper (Theorem 1). For special sequences, -Fibonacci sequence and -Lucas sequence, we give the explicit convolution formulas with parameters . Section 3.2 introduces additional parameter k and generalizes the results obtained in Section 3.1 via a modified Horadam grammar (Theorem 3). As an application, we give explicit formulas for Pell and Pell–Lucas numbers (Corollary 6), as well as for Fermat and Fermat–Lucas numbers (Corollary 7). Section 3.3 provides a unified way to deduce convolution formulas in the form (Theorem 5).
2. Preliminaries
For the sake of brevity, we shall fix the following notations:
- denotes Horadam sequence .
- denotes Horadam sequence ,
- denotes Horadam sequence ,
- denotes -Fibonacci sequence ,
- denotes -Lucas sequence ,
- denotes .
Let A be an alphabet whose letters are regarded as independent commutative indeterminates. A formal function over A is defined as follows:
- (1)
- Each letter in A is a formal function.
- (2)
- If x and y are formal functions, then and are all formal functions.
- (3)
- If x is a formal function and is an analytic function in t, then is a formal function.
- (4)
- Every formal function is constructed as above in a finite number of steps.
A context-free grammar G over A consists of substitution rules replacing letters in A by formal functions over A [20]. A rule in a context-free grammar is also said to be a production as in the theory of formal language [32]. We can define a formal derivative with respect to the grammar G as a differential operator on formal functions over A. More precisely, is defined as follows:
- (1)
- For two formal functions x and y, we have
- (2)
- For any analytic function and formal function x, we have
- (3)
- For a letter u in A, if there is a rule in the grammar G, where v is a formal function, then ; otherwise , and u is called a constant or a terminal.
For example, let and be the formal derivative with respect to G. Then, we have , , and .
We define for any formal function x. It is clear that Leibnitz’s formula still holds for a formal derivative ,
The Horadam grammar was introduced in [19]. For frequently used grammars in the paper, we usually mark them with a subscript. We put a superscript label 1 right after G to indicate Horadam grammar throughout the paper, which is defined as follows:
Using Horadam grammar , we discovered several identities [19]. At the beginning, we need some useful lemmas for later proof.
Lemma 1
([19]). Let be Horadam sequence . For , we have
and
In particular,
Lemma 2
([19]). Let be -Fibonacci sequence . For ,
Lemma 3.
For , we have
Proof.
From Lemma 1, we get that , and . Since
taking in both sides of the above equation, we can obtain the desired result. □
When , by Lemma 3, we see that .
3. Convolution Formulas of Horadam Sequences
In this section, we provide a framework to discover binomial convolution formulas of Horadam sequences. Section 3.1 deduces convolution formulas involving the -Fibonacci sequence and the -Lucas sequence . Section 3.2 generalizes the result of Section 3.1 involving and .
In Section 3.1 and Section 3.2, we always assume .
3.1. Convolution Formulas Related to and
Let be the Horadam sequences and be , respectively. By Leibnitz formula (2) and Equation (4), we have
It follows that if we find the sequence corresponding to
then, we can discover the convolution formulas. Since it is difficult to find the sequences corresponding to and , we choose another three polynomials and to express . We recall the special sequences and ,
Notice that is a special polynomial since
and
For a nonzero polynomial v, if there exists a number such that , then v is also a special polynomial. From the above discussion about special polynomials, we choose the following polynomials: and . Let
which satisfy and . We can verify the determinant of the coefficient matrix
which follows that , and can be represented as linear combinations of and . Therefore, the product of linear forms, , can be linearly expressed in terms of and . Moreover, the sequences corresponding to and can be given as follows.
Lemma 4.
For , we have
- (i)
- ;
- (ii)
- ;
- (iii)
- .
Proof.
First, we claim that
Note that
Thus the assertion holds for . By induction, we assume that the assertion holds for . Since , , and , we have
Therefore the assertion is true for , as desired.
Taking on both sides of (7), we can obtain . Since , we obtain and hence holds.
At last, since , we can get . Combining this identity and , we obtain . □
Now we give the main result of this paper.
Theorem 1.
Let denote the Horadam sequence and let denote the Horadam sequence , respectively. Set . We have
Proof.
Substituting the initial values of Horadam sequences in Theorem 1 yields the following corollary.
Corollary 1.
For -Fibonacci sequence and -Lucas sequence , we have
- (i)
- ;
- (ii)
- ;
- (iii)
- .
Using Lemma 3, we can obtain the following result from the above corollary.
Corollary 2.
We have
- (i)
- ;
- (ii)
- .
3.2. Convolution Formulas Related to and
In the previous subsection, we have obtained some convolution formulas related to and using Horadam grammar (3), which can be rewritten as
where , and are -Fibonacci numbers. Now, we add a parameter k and consider the grammar
where , and are all -Fibonacci numbers.
Theorem 2.
For , we have
- (i)
- ;
- (ii)
- ;
- (iii)
- .
Proof.
First, we prove (i) by induction. Note that
The result holds for . By induction, assume that the result holds for . Then, we calculate
where the last equation follows from Lemma 2. It shows that the result still holds for . Similarly, we can obtain () by induction. The result () follows from (i) and (). This completes the proof. □
By (1) and Lemma 3, we can get . Using the result of Theorem 2 () with and , we have the following corollary.
Corollary 3.
For , we have
Next, we consider to use the Leibnitz formula
to generate a new convolution formula. Taking in Theorem 2, we can see that the right-hand side of Equation (8) is equal to
which can be written as
Therefore we need to find the sequence corresponding to
We employ the same basis polynomials and defined in Equation (6) to solve the above problem. From , , and , we can derive the following lemma. The proof is similar to that of Lemma 4, so we omit it.
Lemma 5.
For , we have
- (i)
- ;
- (ii)
- ;
- (iii)
- .
Using the same manner with Theorem 1, we can obtain the following theorem by Theorem 2, Corollary 3 and Lemma 5:
Theorem 3.
Let denote the Horadam sequence and let denote the Horadam sequence , respectively. Set . We have
Corollary 4.
For the -Fibonacci sequence and -Lucas sequence , we have
- (i)
- ;
- (ii)
- ;
- (iii)
- .
By Lemma 3, we have . So we obtain the following corollary:
Corollary 5.
For the -Fibonacci sequence and -Lucas sequence , we have
- (i)
- ;
- (ii)
- .
Many sequences, including Fibonacci and Lucas numbers, Jacobsthal and Jacobsthal–Lucas numbers, and all other sequences shown in Table 1, are special cases of and . For simplicity, we only give convolution formulas for Pell and Pell–Lucas numbers, as well as for Fermat and Fermat–Lucas numbers as applications of Theorem 3, as readers may derive other formulas by analogy.
Corollary 6.
Let be the Pell number and be the Pell–Lucas number , respectively. We have
- (i)
- ;
- (ii)
- ;
- (iii)
- .
Corollary 7.
Let be the Fermat number and be the Fermat–Lucas number , respectively. We have
- (i)
- ;
- (ii)
- ;
- (iii)
- .
Remark 1.
In Section 3.1 and Section 3.2, we assume . This is a necessary condition for the invertibility of the coefficient matrix used to define and in Equation (6). When , the method fails. But for and in Equation (6) and Theorem 2, Corollary 3 and Lemma 5 always hold, regardless of whether Δ is zero. Namely, the following equations are valid for all values of p and q:
Note that and if , then . Thus, using the Formula (8) with , , we have
Using the Formula (8) with , , we can drive
Since and when , the two convolution Formulas (9) and (10) are consistent with the formulas of Corollary 4 and , respectively.
To sum up, the formulas of Corollary 4 and always hold, regardless of whether Δ is zero.
3.3. Convolution Formulas Related to
Motivated by Fibonacci convolution identities involving the term in [4], we extend the study of these identities to Horadam sequences, focusing on convolution formulas weighted by . We introduce a new context-free grammar to generate such formulas. Let
The substitution rules on in is the same with , and hence by Theorem 2, we have
The rule in the grammar leads that and , and one can easily check that
Theorem 4.
For , we have
- (i)
- ;
- (ii)
- ;
- (iii)
- .
Proof.
First, we show (i) by induction. Note that
The result holds for . By induction, assume that the result holds for . Then, since
we calculate
where the last equation follows from Lemma 2. It shows that (i) still holds for . By (13), we can get , which yields (). Combining (i) and (), we obtain (). This completes the proof. □
Now, we use the Leibnitz formula to generate new convolution formulas.
Theorem 5.
Let denote the -Fibonacci sequence and let denote the -Lucas sequence, respectively. We have
Proof.
Corollary 8.
Let denote the -Fibonacci sequence and let denote the -Lucas sequence, respectively. We have the following:
- (i)
- ;
- (ii)
- .
Proof.
When and , the formula is easily obtained. When and , we have by Equation (1) and Lemma 3, and hence we can obtain the desired formula . □
4. Conclusions
This paper uses context-free grammars as a new tool to investigate Horadam sequences. We have provided a unified approach to discover convolution formulas involving and with binomial coefficients. All convolution formulas in this paper are derived from Leibnitz’s formula, hence in the form
For special sequences, (denoted as for brevity) and (denoted as for brevity), we have deduced the explicit formulas with parameters . Our results apply to parameterized sequences of various types, whereas some authors only proved them for one or a few specific sequences, including those in [3,4,5,18,30]. To the best of our knowledge (compare with the alternative known result), Theorems 1, 3 and 5 are new.
Our result highlights the capacity of grammars in exploring new formulas. Distinct grammars can be used to derive different formulas. This is demonstrated in the paper by the change in grammars from to , which is used to obtain the formulas in Theorem 5. Constructing new variations in the grammar could be a pathway to discovering identities for other weighted polynomial sequences. Indeed, many combinatorial polynomials can be studied by grammars, making this method an important tool in combinatorics. It may be interesting to consider multivariate Fibonacci polynomials using grammars, and some formulas could be deduced, for example, the generalized Cassini formula.
Author Contributions
Methodology, J.-Y.L.; validation, H.-L.L.; formal analysis, Z.-H.Z.; writing—original draft preparation, J.-Y.L.; writing—review and editing, J.-Y.L. and T.L. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
No new data were created or analyzed in this study.
Acknowledgments
The authors appreciate anonymous referees for their careful reading and professional comments on the original version of this paper.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Horadam, A.F. A generalized Fibonacci sequence. Am. Math. Mon. 1961, 68, 455–459. [Google Scholar] [CrossRef]
- Cao, S.; Wang, T. Symmetric inequalities for reciprocal sums of Fibonacci numbers. Symmetry 2025, 17, 1743. [Google Scholar] [CrossRef]
- Church, C.A.; Bicknell, M. Exponential generating functions for Fibonacci identities. Fibonacci Q. 1973, 11, 275–281. [Google Scholar] [CrossRef]
- Carlitz, L. Some classes of Fibonacci sums. Fibonacci Q. 1978, 16, 411–426. [Google Scholar] [CrossRef]
- Đorđević, G.B.; Milovanović, G.V. Special Classes of Polynomials; Faculty of Technology, Leskovac, University of Niš: Leskovac, Serbia, 2014. [Google Scholar]
- Graham, R.L.; Knuth, D.E.; Patashnik, O. Concrete Mathematics: A Foundation for Computer Science, 2nd ed.; Addison-Wesley: Reading, MA, USA, 1994. [Google Scholar]
- Gulec, H.H.; Taskara, N. On the properties of Fibonacci numbers with binomial coefficients. Int. J. Contemp. Math. Sci. 2009, 4, 1251–1256. [Google Scholar]
- Guo, D.; Chu, W. Binomial sums with Pell and Lucas polynomials. Bull. Belg. Math. Soc.—Simon Stevin 2021, 28, 133–145. [Google Scholar] [CrossRef]
- Roettger, E.L.F.; Williams, H.C. The Enchantment of Numbers; Springer: Cham, Switzerland, 2025; pp. 69–117. [Google Scholar]
- Taskara, N.; Uslu, K.; Gulec, H.H. On the properties of Lucas numbers with binomial coefficients. Appl. Math. Lett. 2010, 23, 68–72. [Google Scholar] [CrossRef]
- Vajda, S. Fibonacci and Lucas Numbers, and the Golden Section, Theory and Applications; John Wiley and Sons: New York, NY, USA, 1989. [Google Scholar]
- Guo, B.N.; Polatlı, E.; Qi, F. Determinantal formulas and recurrent relations for bi-periodic Fibonacci and Lucas polynomials. In New Trends in Applied Analysis and Computational Mathematics, Proceedings of the International Conference on Advances in Mathematics and Computing (ICAMC 2020), Odisha, India, 7–8 February 2020; Springer: Singapore, 2021; pp. 263–276. [Google Scholar]
- Huan, Z.; Liu, L.L.; Yan, X. A unified approach to multivariate polynomial sequences with real stability. Adv. Appl. Math. 2023, 148, 102534. [Google Scholar] [CrossRef]
- Koparal, S.; Ömür, N.; Boz, S.; Mohamed, K.S.; Khan, W.A.; Adam, A. Generalized Fibonacci polynomials and their properties. Symmetry 2025, 17, 1898. [Google Scholar] [CrossRef]
- Liu, L.L.; Wang, Y. A unified approach to polynomial sequences with only real zeros. Adv. Appl. Math. 2007, 38, 542–560. [Google Scholar] [CrossRef]
- Ma, S.-M.; Qi, H.; Yeh, J.; Yeh, Y.-N. Stirling permutation codes. II. J. Comb. Theory Ser. A 2026, 217, 106093. [Google Scholar] [CrossRef]
- Qi, F.; Kızılateş, C.; Du, W.-S. A closed formula for the Horadam polynomials in terms of a tridiagonal determinant. Symmetry 2019, 11, 782. [Google Scholar] [CrossRef]
- Soykan, Y. On generalized Fibonacci polynomials: Horadam polynomials. Earthline J. Math. Sci. 2023, 11, 23–114. [Google Scholar] [CrossRef]
- Liu, J.-Y.; Li, H.-L.; Zhang, Z.-H. A grammatical interpretation of Horadam sequences. Axioms 2025, 14, 819. [Google Scholar] [CrossRef]
- Chen, W.Y.C. Context-free grammars, differential operators and formal power series. Theor. Comput. Sci. 1993, 117, 113–129. [Google Scholar] [CrossRef]
- Ma, S.-M.; Bian, H.; Liu, J.-Y.; Yeh, J.; Yeh, Y.-N. Determinantal representations of enumerative polynomials. Discret. Appl. Math. 2026, 378, 682–702. [Google Scholar] [CrossRef]
- Ma, S.-M.; Liu, J.-Y.; Yeh, J.; Yeh, Y.-N. Eulerian-type polynomials over Stirling permutations and box sorting algorithm. J. Comb. Theory Ser. A 2026, 220, 106132. [Google Scholar] [CrossRef]
- Ma, S.-M.; Qi, H.; Yeh, J.; Yeh, Y.-N. On the joint distributions of succession and Eulerian statistics. Adv. Appl. Math. 2025, 162, 102772. [Google Scholar] [CrossRef]
- Chen, W.Y.C.; Fu, A.M. The Dumont ansatz for the Eulerian polynomials, peak polynomials and derivative polynomials. Ann. Comb. 2023, 27, 707–735. [Google Scholar] [CrossRef]
- Chen, W.Y.C. Context-free grammars, permutations and increasing trees. Adv. Appl. Math. 2017, 82, 58–82. [Google Scholar] [CrossRef]
- Ma, S.-M.; Ma, J.; Yeh, J.; Yeh, Y.-N. Excedance-type polynomials, gamma-positivity and alternatingly increasing property. Eur. J. Comb. 2024, 118, 103869. [Google Scholar] [CrossRef]
- Ma, S.-M. Some combinatorial arrays generated by context-free grammars. Eur. J. Comb. 2013, 34, 1081–1091. [Google Scholar] [CrossRef]
- Ma, S.-M.; Ma, J.; Yeh, Y.-N.; Zhu, B.-X. Context-free grammars for several polynomials associated with Eulerian polynomials. Electron. J. Comb. 2018, 25, P1.31. [Google Scholar] [CrossRef] [PubMed]
- Shabiya, Y.; Kruchinin, V.; Kruchinin, D. Enumeration of words derived from unambiguous context-free grammars based on powers of generating functions. Proc. Jangjeon Math. Soc. 2025, 28, 299–317. [Google Scholar]
- Yang, H.R.; Phang, C. A context-free grammar associated with Fibonacci and Lucas sequences. J. Math. 2023, 2023, 6497710. [Google Scholar] [CrossRef]
- Zhou, R.R.; Yeh, J.; Ren, F. Context-free grammars for several triangular arrays. Axioms 2022, 11, 297. [Google Scholar] [CrossRef]
- Goldman, J.R. Formal languages and enumeration. J. Comb. Theory Ser. A 1978, 24, 318–338. [Google Scholar] [CrossRef][Green Version]
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).