Next Article in Journal
An Online Generalized Multiscale Method for Embedded Discrete Fracture Model
Previous Article in Journal
One Optimization Problem with Convex Set-Valued Mapping and Duality
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Grammatical Interpretation of Horadam Sequences

School of Mathematics and Statistics, Shandong University of Technology, Zibo 255000, China
*
Author to whom correspondence should be addressed.
Axioms 2025, 14(11), 819; https://doi.org/10.3390/axioms14110819
Submission received: 24 September 2025 / Revised: 26 October 2025 / Accepted: 28 October 2025 / Published: 3 November 2025
(This article belongs to the Section Algebra and Number Theory)

Abstract

The Horadam sequence { H n ( a , b ; p , q ) } n 0 has been widely studied in combinatorics and number theory. In this paper, we find that the context-free grammar G = { x p x + y , y q x } can be used to generate Horadam sequences. Using this grammar, we deduce several identities, including Cassini-like identities. Moreover, we investigate the relationship between two distinct Horadam sequences H n ( a , b ; p , q ) and H n ( c , d ; p , q ) with ( a , b ) ( c , d ) and provide an approach to derive identities, which can be illustrated by the Fibonacci and Lucas sequences as well as the two kinds of Chebyshev polynomials.
MSC:
11B39; 11B83; 05A19

1. Introduction

Setting H 0 = a and H 1 = b , the linear recurrence relation
H n = p H n 1 + q H n 2
generates a sequence { H n ( a , b ; p , q ) } n 0 , which can be called the H o r a d a m   s e q u e n c e since Horadam initiated the study in 1961 [1]. It unifies a number of well-known sequences, see Table 1 for special cases. Recently, there have been many extensions and variations of the Horadam sequence, see [2,3,4,5,6,7,8,9,10,11]. For the sake of brevity, we shall denote H n ( a , b ; p , q ) by H n .
In this paper, we find that the context-free grammar can be used to generate the Horadam sequence. The grammatical method was introduced by Chen [12] when he investigated exponential structures in combinatorics. The context-free grammar is a formal language that can be used to discover new combinatorial models [13,14], new combinatorial algorithms [7], and new convolution formulas [14,15]. Moreover, using the changing of the grammars, different expansions and novel relationships can also be discovered [7,14,15]. Recent studies have demonstrated broad applications of context-free grammars in combinatorics, see [16,17,18,19,20] for instance.
The paper is organized as follows: In Section 2, we present a grammatical description of the Horadam sequence. In Section 3, as applications of the Horadam grammar, we establish some identities associated with Horadam numbers and investigate the relationship between two distinct Horadam numbers H n ( a , b ; p , q ) and H n ( c , d ; p , q ) with ( a , b ) ( c , d ) .

2. The Horadam Grammar

Let A be an alphabet with letters as independent commutative indeterminates. Following Chen [12], a context-free grammar G over A consists of substitution rules replacing letters in A by formal functions over A. We can define a formal derivative D G associated with G as a differential operator on formal functions over A. More precisely, D G is a linear operator satisfying the relations
D G ( x + y ) = D G ( x ) + D G ( y ) , D G ( x y ) = D G ( x ) y + x D G ( y ) ,
and the Leibnitz formula
D G n ( x y ) = k = 0 n k D G k ( x ) D G n k ( y ) .
In the following, we give an illustration of the grammar:
G 0 = { x x + y , y x } .
Consider the Fibonacci sequence defined by F n = F n 1 + F n 2 , F 0 = 0 , F 1 = 1 . Suppose we are given a row of squares, with two types of tiles: dominos, which can cover two squares, and monominos, which can cover one square. A tiling of the row is a set of tiles that covers each square exactly once. It is well known that for n 2 , F n is the number of tilings of a row of n 1 squares [19]. We distinguish two cases: ( i ) if the tiling ends with a monomino, then we mark it by a x; ( i i ) if the tiling ends with a domino, then we mark it by a y. It is easy to verify that D G 0 n ( x ) = x F n + 1 + y F n . For example, D G 0 2 ( x ) = 2 x + y and D G 0 3 ( x ) = 3 x + 2 y . Motivated by the above discussion, we can now present the main result of the paper.
Theorem 1. 
We call G = { x p x + y , y q x } the Horadam grammar. We have
D G n ( b x + a y ) = H n + 1 x + H n y .
In particular, D G n ( b x + a y ) | x = 0 , y = 1 = H n .
Proof. 
Note that
D G ( b x + a y ) = b D G ( x ) + a D G ( y ) = b ( p x + y ) + a q x = ( b p + a q ) x + b y = H 2 x + H 1 y .
So, the result holds for n = 1 . By induction, assume that the result holds for n = m 1 . Then,
D G m ( b x + a y ) = D G ( D G m 1 ( b x + a y ) ) = D G ( H m x + H m 1 y ) = H m D G ( x ) + H m 1 D G ( y ) = H m ( p x + y ) + H m 1 ( q x ) = ( p H m + q H m 1 ) x + H m y = H m + 1 x + H m y ,
as desired. This completes the proof. □

3. Applications of the Horadam Grammar

3.1. Explicit Formulas and Identities

As an application of Horadam grammar, we first deduce a known formula (see (Theorem 37) in [9]) of the Horadam sequence. We adopt a grammar-based proof, which is more concise.
Theorem 2. 
For n > 1 ,
H n = b i = 0 n 1 2 n 1 i i p n 1 2 i q i + a i = 0 n 2 2 n 2 i i p n 2 2 i q i + 1 .
Proof. 
Note that
D G ( x ) = p x + y , D G 2 ( x ) = ( p 2 + q ) x + p y , D G 3 ( x ) = ( p 3 + 2 p q ) x + ( p 2 + q ) y .
By introduction, it is routine to verify that
D G n ( x ) = i = 0 n 2 n i i p n 2 i q i x + i = 0 n 1 2 n 1 i i p n 1 2 i q i y ,
and, similarly,
D G n ( y ) = q D G n 1 ( x ) = i = 0 n 1 2 n 1 i i p n 1 2 i q i + 1 x + i = 0 n 2 2 n 2 i i p n 2 2 i q i + 1 y .
Taking x = 0 , y = 1 on both sides of D G n ( b x + a y ) = b D G n ( x ) + a D G n ( y ) , we can obtain
H n = b i = 0 n 1 2 n 1 i i p n 1 2 i q i + a i = 0 n 2 2 n 2 i i p n 2 2 i q i + 1 ,
as desired. □
Theorem 2 can also be written in the equivalent form
H n = i = 0 k 1 p b 2 k 1 i i + q a 2 k 2 i i p 2 k 2 2 i q i if n = 2 k , b q k + i = 0 k 1 p b 2 k i i + q a 2 k 1 i i p 2 k 1 2 i q i if n = 2 k + 1 .
Siar and Keskin [8] of (Theorem 6) showed
H n + m 1 = H n H m ( 0 , 1 ; p , q ) H n 1 H m 1 ( 0 , 1 ; p , q ) .
Next, we present a new expression of H n + m 1 using solely the terms from the H n sequence via the grammatical approach, which is unavailable in the literature.
Theorem 3. 
For n , m 1 ,
H n + m 1 = a ( H n H m + 1 + q H n 1 H m ) b ( H n H m + q H n 1 H m 1 ) q a 2 + p a b b 2 .
Taking m = n and m = n + 1 , we can, respectively, obtain that
H 2 n 1 = a ( H n H n + 1 + q H n 1 H n ) b ( H n H n + q H n 1 H n 1 ) q a 2 + p a b b 2 , H 2 n = a ( H n H n + 2 + q H n 1 H n + 1 ) b ( H n H n + 1 + q H n 1 H n ) q a 2 + p a b b 2 .
For Fibonacci numbers F n = H n ( 0 , 1 ; 1 , 1 ) and Lucas numbers L n = H n ( 2 , 1 ; 1 , 1 ) , we obtain
F n + m 1 = F n F m + F n 1 F m 1 ;
L n + m 1 = L n F m + L n 1 F m 1 .
Proof. 
We only need to prove (3) and (4). From Theorem 1, we see that D G n ( b x + a y ) = H n + 1 x + H n y . So, we obtain
D G n ( p b + q a ) x + b y = D G n ( H 2 x + H 1 y ) = D G n + 1 ( b x + a y ) = H n + 2 x + H n + 1 y .
Combining these two equations, we obtain a system of linear equations
b D G n ( x ) + a D G n ( y ) = H n + 1 x + H n y ( p b + q a ) D G n ( x ) + b D G n ( y ) = H n + 2 x + H n + 1 y .
Solving the equations yields D G n ( x ) and D G n ( y ) as follows:
D G n ( x ) = 1 q a 2 + p a b b 2 ( a H n + 2 b H n + 1 ) x + ( a H n + 1 b H n ) y D G n ( y ) = q q a 2 + p a b b 2 ( a H n + 1 b H n ) x + ( a H n b H n 1 ) y .
Since
D G n + m 1 ( b x + a y ) = D G m D G n 1 ( b x + a y ) = D G m ( H n x + H n 1 y ) = H n D G m ( x ) + H n 1 D G m ( y ) ,
by taking x = 0 and y = 1 , we can obtain
D G n + m 1 ( b x + a y ) | x = 0 , y = 1 = H n D G m ( x ) | x = 0 , y = 1 + H n 1 D G m ( y ) | x = 0 , y = 1 = H n · a H m + 1 b H m q a 2 + p a b b 2 + q H n 1 · a H m b H m 1 q a 2 + p a b b 2 = a ( H n H m + 1 + q H n 1 H m ) b ( H n H m + q H n 1 H m 1 ) q a 2 + p a b b 2 ,
which yields the desired identity (3).
Next, we prove the last identity (4). From (3) and the identity 2 L m + 1 L m = 5 F m in [21], we have
L n + m 1 = 2 ( L n L m + 1 + L n 1 L m ) ( L n L m + L n 1 L m 1 ) 5 = L n ( 2 L m + 1 L m ) + L n 1 ( 2 L m L m 1 ) 5 = L n ( 5 F m ) + L n 1 ( 5 F m 1 ) 5 = L n F m + L n 1 F m 1 ,
as desired. This completes the proof. □
Next, we will present Vajda-like identities. The new result differs in form from the usual expressions. For example, Soykan [9] of (Theorem 11) showed
H n H m H n k H m + k = ( q ) n k ( b 2 p a b q a 2 ) H m + k n ( 0 , 1 ; p , q ) H k ( 0 , 1 ; p , q ) ;
Yazlik and Taskara [11] of (Theorem 7) presented
H n H m H n k H m + k = ( q ) n k ( b H k a H k + 1 ) ( b H m + k n a H m + k n + 1 ) b 2 p a b q a 2 .
However, when m = n and k = 1 , our result degenerates into a Cassini-like identity, coinciding with [9].
Theorem 4. 
For m n k 0 ,
H n H m + k H n k H m = ( q ) n k H k H m n + 2 k H 0 H m n + k .
In particular, we have
(i) 
H n H n + k H n k H n = ( q ) n k H k H 2 k H 0 H k when m = n ;
(ii) 
H n H m + 1 H n 1 H m = ( q ) n 1 H 1 H m n + 2 H 0 H m n + 1 when k = 1 ;
(iii) 
H n H n + 1 H n 1 H n = ( q ) n 1 ( b 2 p a b q a 2 ) when m = n and k = 1 .
Proof. 
For the Horadam grammar G = { x p x + y , y q x } , in order to compute more efficiently, we consider a change of it. Setting u = 1 q y and v = x , we see that u v , v p v + q u . For this reason, we obtain a new grammar:
G 1 = { u v , v p v + q u } .
In the same way as in the proof of Theorem 1, it is easy to deduce that
D G 1 n ( u ) | u = a , v = b = H n .
Therefore, to study H m H n H m + k H n k , we need to compute
D G 1 m ( u ) D G 1 n ( u ) D G 1 m + k ( u ) D G 1 n k ( u ) .
Let us first examine how to calculate it for the case of k = 1 .
D G 1 m ( u ) D G 1 n ( u ) D G 1 m + 1 ( u ) D G 1 n 1 ( u ) = D G 1 m 1 ( v ) D G 1 n 2 ( p v + q u ) D G 1 m 1 ( p v + q u ) D G 1 n 2 ( v ) = p D G 1 m 1 ( v ) D G 1 n 2 ( v ) + q D G 1 m 1 ( v ) D G 1 n 2 ( u ) p D G 1 m 1 ( v ) D G 1 n 2 ( v ) q D G 1 m 1 ( u ) D G 1 n 2 ( v ) = q D G 1 m 1 ( v ) D G 1 n 2 ( u ) q D G 1 m 1 ( u ) D G 1 n 2 ( v ) = q D G 1 m ( u ) D G 1 n 2 ( u ) q D G 1 m 1 ( u ) D G 1 n 1 ( u ) = ( q ) D G 1 m 1 ( u ) D G 1 n 1 ( u ) D G 1 m ( u ) D G 1 n 2 ( u ) = ( q ) n k D G 1 m n + k ( u ) D G 1 k ( u ) D G 1 m n + k + 1 ( u ) D G 1 k 1 ( u ) .
To compute D G 1 m ( u ) D G 1 n ( u ) D G 1 m + k ( u ) D G 1 n k ( u ) , we decompose the difference into a cascading sequence of intermediate terms. Through systematic cancellation of consecutive paired terms, the entire chain of equalities collapses into a concise expression involving only the boundary terms. That is,
D G 1 m ( u ) D G 1 n ( u ) D G 1 m + k ( u ) D G 1 n k ( u ) = D G 1 m ( u ) D G 1 n ( u ) D G 1 m + 1 ( u ) D G 1 n 1 ( u ) + D G 1 m + 1 ( u ) D G 1 n 1 ( u ) D G 1 m + 2 ( u ) D G 1 n 2 ( u ) + + D G 1 m + k 1 ( u ) D G 1 n k + 1 ( u ) D G 1 m + k ( u ) D G 1 n k ( u ) = ( q ) n k D G 1 m n + k ( u ) D G 1 k ( u ) D G 1 m n + k + 1 ( u ) D G 1 k 1 ( u ) + ( q ) n k D G 1 m n + k + 1 ( u ) D G 1 k 1 ( u ) D G 1 m n + k + 2 ( u ) D G 1 k 2 ( u ) + + ( q ) n k D G 1 m n + 2 k 1 ( u ) D G 1 1 ( u ) D G 1 m n + 2 k ( u ) D G 1 0 ( u ) = ( q ) n k D G 1 m n + k ( u ) D G 1 k ( u ) D G 1 m n + 2 k ( u ) D G 1 0 ( u ) .
Since D G 1 n ( u ) | u = a , v = b = H n , we obtain
H m H n H m + k H n k = ( q ) n k ( H m n + k H k H m n + 2 k H 0 ) ,
which leads to (5). □

3.2. The Relationship Between H n ( a , b ; p , q ) and H n ( c , d ; p , q ) with ( a , b ) ( c , d )

We will provide a new method to establish the relationship between two Horadam-type sequences that have different initial values.
Theorem 5. 
Let H n be the Horadam numbers H n ( a , b ; p , q ) . For arbitrary numbers s and r and non-negative integer k, we have
s H n + k r H n = H n ( s H k r a , s H k + 1 r b ; p , q ) .
In particular, if for some s , r , and k, there exists c , d , and e and non-negative integer l, such that
s H k r a = e H l ( c , d ; p , q ) , s H k + 1 r b = e H l + 1 ( c , d ; p , q ) ,
then
s H n + k r H n = e H n + l ( c , d ; p , q ) .
If s = a and r = H k , then
a H n + k H k H n = ( a H k + 1 b H k ) H n ( 0 , 1 ; p , q ) .
Proof. 
By Theorem 1, we have
s D G n + k ( b x + a y ) r D G n ( b x + a y ) = s D G n H k + 1 x + H k y r D G n ( b x + a y ) = D G n ( s H k + 1 r b ) x + ( s H k r a ) y .
Taking x = 0 and y = 1 on both sides of the above equation, we obtain (6).
If there exists c , d , and e and non-negative integer l, such that
s H k r a = e H l ( c , d ; p , q ) , s H k + 1 r b = e H l + 1 ( c , d ; p , q ) ,
then we can follow from (9) that
s D G n + k ( b x + a y ) r D G n ( b x + a y ) = D G n e H l + 1 ( c , d ; p , q ) x + e H l ( c , d ; p , q ) y = e D G n H l + 1 ( c , d ; p , q ) x + H l ( c , d ; p , q ) y = e D G n + l H 1 ( c , d ; p , q ) x + H 0 ( c , d ; p , q ) y = e D G n + l ( d x + c y ) .
Taking x = 0 and y = 1 on both sides, we obtain (7).
If s = a and r = H k in (9), then
a D G n + k ( b x + a y ) H k D G n ( b x + a y ) = D n ( a H k + 1 H k b ) x + 0 y = ( a H k + 1 b H k ) D G n 1 x + 0 y ,
which yields the desired result (8). □
Remark 1. 
For a given H n ( a , b ; p , q ) and H n ( c , d ; p , q ) with ( a , b ) ( c , d ) , an effective way to deduce their relationship is as follows:
(i) 
Fix the value of k , l , and e.
(ii) 
Solve for s and r in the following equations
s H k r a = e H l ( c , d ; p , q ) , s H k + 1 r b = e H l + 1 ( c , d ; p , q ) .
(iii) 
Substitute s and r from (7) and simplify.
An illustration of Theorem 5 is given as follows:
Corollary 1 
([21]). For the Fibonacci and Lucas numbers, we have
2 L n + 1 1 L n = 5 F n ; 2 L n + 2 3 L n = 5 F n ; L n + 3 2 L n = 5 F n ; 2 L n + k L k L n = 5 F k F n .
Proof. 
Since p = 1 and q = 1 , we have H 2 = a + b , H 3 = a + 2 b , and H 4 = 2 a + 3 b . Thus, letting p = 1 , q = 1 , s = a , and r = H k and, respectively, taking k = 1 , k = 2 , k = 3 , …, in (8), we can obtain
a H n + 1 ( a , b ; 1 , 1 ) b H n ( a , b ; 1 , 1 ) = ( a b + a 2 b 2 ) F n ; a H n + 2 ( a , b ; 1 , 1 ) ( a + b ) H n ( a , b ; 1 , 1 ) = ( a b + a 2 b 2 ) F n ; a H n + 3 ( a , b ; 1 , 1 ) ( a + 2 b ) H n ( a , b ; 1 , 1 ) = 2 ( a b + a 2 b 2 ) F n ; a H n + k ( a , b ; 1 , 1 ) H k ( a , b ; 1 , 1 ) H n ( a , b ; 1 , 1 ) = ( a b + a 2 b 2 ) F k F n .
Since the Lucas number L n = H n ( 2 , 1 ; 1 , 1 ) (i.e., a = 2 and b = 1 ), we obtain
2 L n + 1 1 L n = 5 F n ; 2 L n + 2 3 L n = 5 F n ; L n + 3 2 L n = 5 F n ; 2 L n + k L k L n = 5 F k F n .
We now consider the Chebyshev polynomials as another application of Theorem 5. The Chebyshev polynomial T n ( t ) of the first kind is a polynomial in t of degree n, satisfying the recurrence relation
T n + 1 ( t ) = 2 t T n ( t ) T n 1 ( t ) ,
with the initial conditions T 0 ( t ) = 1 and T 1 ( t ) = t . The first few Chebyshev polynomials are listed as follows:
T 2 ( t ) = 2 t 2 1 , T 3 ( t ) = 4 t 3 3 t , T 4 ( t ) = 8 t 4 8 t 2 + 1 .
The Chebyshev polynomial U n ( t ) of the second kind satisfies the same recurrence relation
U n + 1 ( t ) = 2 t U n ( t ) U n 1 ( t ) ,
together with the initial conditions U 0 ( t ) = 1 and U 1 ( t ) = 2 t . The first few terms are
U 2 ( t ) = 4 t 2 1 , U 3 ( t ) = 8 t 3 4 t , U 4 ( t ) = 16 t 4 12 t 2 + 1 .
The polynomial sequences T n ( t ) and U n ( t ) can be regarded as two different Horadam sequences with the same p = 2 t and q = 1 . Therefore, according Theorem 1, for the grammar G 2 = { x 2 t x + y , y x } , we have
D G 2 n ( t x + y ) | x = 0 , y = 1 = T n ( t ) D G 2 n ( 2 t x + y ) | x = 0 , y = 1 = U n ( t ) .
Corollary 2 
([22]). We have
t U n + 1 ( t ) U n ( t ) = T n + 2 ( t ) , U n + 2 ( t ) U n ( t ) = 2 T n + 2 ( t ) .
Proof. 
In (7), by taking H n = U n ( t ) (i.e., a = 1 , b = 2 t , p = 2 t , and q = 1 ), s = t , r = 1 , and k = 1 , we arrive at
s H k r a = 2 t 2 1 = T 2 ( t ) , s H k + 1 r b = 4 t 3 3 t = T 3 ( t ) ,
and so
t U n + 1 ( t ) U n ( t ) = T n + 2 ( t ) .
Similarly, we can obtain the second formula by taking H n = U n ( t ) , s = 1 , r = 1 , and k = 2 . □
By taking appropriate values, many such relationships can be obtained. In (7), by taking H n = T n ( t ) , s = t , and r = T k 1 ( t ) , we can obtain a new result.
Corollary 3. 
We have
t T n + k ( t ) T k 1 ( t ) T n ( t ) = t T k ( t ) T k 1 ( t ) U n ( t ) .
In particular, we have
t T n + 1 ( t ) T n ( t ) = ( t 2 1 ) U n ( t ) ,
T n + 2 ( t ) T n ( t ) = 2 ( t 2 1 ) U n ( t ) ,
t T n + 3 ( t ) ( 2 t 2 1 ) T n ( t ) = ( 4 t 4 5 t 2 + 1 ) U n ( t ) ,
T n + 4 ( t ) ( 4 t 2 3 ) T n ( t ) = 4 ( 2 t 4 3 t 2 + 1 ) U n ( t ) .
Equivalently, we have
t T n + k ( t ) T k 1 ( t ) T n ( t ) = ( t 2 1 ) U k 1 ( t ) U n ( t ) .
In (7), by taking
H n = U n ( t ) , s = t , r = t U k ( t ) U k 1 ( t ) = T k + 1 ( t ) ,
we obtain another new result.
Corollary 4. 
We have
t U n + k ( t ) T k + 1 U n ( t ) = U k 1 ( t ) T n ( t ) .
It should be noted that the Corollaries 1–4 merely present a subset of all possible identities. In fact, by Remark 1, we can obtain additional identities. For example, if we take H n = T n ( t ) , e = 1 , k = 4 , and l = 3 , then we can obtain
T 4 ( t ) T n + 4 ( t ) T n ( t ) = ( T 5 ( t ) t T 4 ( t ) ) U n + 3 ( t ) .
Since T 5 ( t ) t T 4 ( t ) = t T 4 ( t ) T 3 ( t ) , by Corollary 3, we obtain a new identity:
T 4 ( t ) T n + 4 ( t ) T n ( t ) = ( t 2 1 ) U 3 ( t ) U n + 3 ( t ) .

4. Conclusions

This paper uses context-free grammars as a new tool to investigate the properties of the Horadam sequence. By using a simple context-free grammar G = { x p x + y , y q x } , we successfully generated the Horadam sequence. Our grammars not only derive several new or known identities but also uncover meaningful connections between Horadam sequences with different initial values ( a , b ) ( c , d ) and the same recurrence coefficients ( p , q ) . Furthermore, we demonstrate how this grammatical method can be extended to derive identities for special cases, including the Fibonacci and Lucas numbers, as well as Chebyshev polynomials of the first and second kinds.
To the best of our knowledge, Theorems 1, 3, 4, and 5 and Corollaries 3 and 4 introduce new identities or relationships, whereas Theorem 2 and Corollaries 1 and 2 provide new proofs of known results, illustrating the versatility of the grammars. Our result highlights its capacity to both generate new knowledge and deepen the understanding of classical identities. The grammars can also be flexibly changed to derive different relational expressions. This is demonstrated in the paper by the transformation from grammar { x p x + y , y q x } to { u v , v p v + q u } , which is used to obtain the identity in Theorem 4.
Indeed, many combinatorial objects admit grammatical interpretations, making this method an important tool in combinatorics. For example, if the polynomials M n ( t ) satisfy
M n + 1 ( t ) = p ( n ) M n ( t ) + q ( n ) M n 1 ( t ) ,
we can always use a series of grammars, such as
G i = { x p ( i ) x + y , y q ( i ) x } , i = 1 , 2 , , n ,
to obtain the relation
D n D 2 D 1 ( M 1 ( t ) x + M 0 ( t ) y ) = M n + 1 ( t ) x + M n ( t ) y ,
where D i denotes the formal derivative associated with G i . Interested readers can use the above model to study the Hermite polynomials, Legendre polynomials, and other similar polynomials [23]. We next give another application. Let G i = { x x i t y , y ( i 1 ) x } ; we can study the Meixner polynomials through D n D 2 D 1 ( x ) . Beyond combinatorics, the grammars can also find applications in number theory, algorithm analysis, and the mathematical modeling of recursive processes in fields such as computer science and physics.

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. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (NSFC No. 12071063).

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

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

  1. Horadam, A.F. A generalized Fibonacci sequence. Am. Math. Mon. 1961, 68, 455–459. [Google Scholar] [CrossRef]
  2. Abd-Elhameed, W.M.; Alqubori, O.M.; Alluhaybi, A.A.; Amin, A.K. Novel expressions for certain generalized Leonardo polynomials and their associated numbers. Axioms 2025, 14, 286. [Google Scholar] [CrossRef]
  3. Guo, B.N.; Polatlı, E.; Qi, F. Determinantal formulas and recurrent relations for bi-periodic Fibonacci and Lucas polynomials. In Advances in Intelligent Systems and Computing; Springer: Berlin/Heidelberg, Germany, 2021; p. 1356. [Google Scholar]
  4. 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]
  5. Larcombe, P.J.; Bagdasar, O.D.; Fennessey, E.J. Horadam sequences: A survey. Bull. ICA 2013, 67, 49–72. [Google Scholar]
  6. 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]
  7. 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]
  8. Şiar, Z.; Keskin, R. Some new identities concerning the Horadam sequence and its companion sequence. Commun. Korean Math. Soc. 2019, 34, 1–16. [Google Scholar]
  9. Soykan, Y. On generalized Fibonacci polynomials: Horadam polynomials. Earthline J. Math. Sci. 2023, 11, 23–114. [Google Scholar] [CrossRef]
  10. Tan, E.; Podrug, L.; Iršič Chenoweth, V. Horadam–Lucas Cubes. Axioms 2024, 13, 837. [Google Scholar] [CrossRef]
  11. Yazlik, Y.; Taskara, N. A note on generalized k-Horadam sequence. Comput. Math. Appl. 2012, 63, 36–41. [Google Scholar] [CrossRef]
  12. Chen, W.Y.C. Context-free grammars, differential operators and formal power series. Theor. Comput. Sci. 1993, 117, 113–129. [Google Scholar] [CrossRef]
  13. Chen, W.Y.C. Context-free grammars, permutations and increasing trees. Adv. Appl. Math. 2017, 82, 58–82. [Google Scholar] [CrossRef]
  14. 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]
  15. Chen, W.Y.C.; Fu, A.M. The Dumont ansatz for the Eulerian polynomials, peak polynomials and derivative polynomials. Ann. Combin. 2023, 27, 707–735. [Google Scholar] [CrossRef]
  16. Ma, S.-M. Some combinatorial arrays generated by context-free grammars. Eur. J. Comb. 2013, 34, 1081–1091. [Google Scholar] [CrossRef]
  17. 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]
  18. 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]
  19. Yang, H.R.; Phang, C. A context-free grammar associated with Fibonacci and Lucas sequences. J. Math. 2023, 1, 6497710. [Google Scholar] [CrossRef]
  20. Zhou, R.R.; Yeh, J.; Ren, F. Context-free grammars for several triangular arrays. Axioms 2022, 11, 297. [Google Scholar] [CrossRef]
  21. Roettger, E.L.F.; Williams, H.C. The Enchantment of Numbers; Springer: Cham, Switzerland, 2025; p. 110. [Google Scholar]
  22. Mason, J.C.; Handscomb, D.C. Chebyshev Polynomials; Chapman and Hall/CRC: New York, NY, USA, 2002; p. 30. [Google Scholar]
  23. Đorđević, G.B.; Milovanović, G.V. Special Classes of Polynomials; University of Niš, Faculty of Technology, Leskovac: Leskovac, Serbia, 2014. [Google Scholar]
Table 1. Some special cases of Horadam sequence.
Table 1. Some special cases of Horadam sequence.
NameParameter Representation
Fibonacci number H n ( 0 , 1 ; 1 , 1 )
Lucas number H n ( 2 , 1 ; 1 , 1 )
Pell number H n ( 0 , 1 ; 2 , 1 )
Pell–Lucas number H n ( 2 , 2 ; 2 , 1 )
Jacobsthal number H n ( 0 , 1 ; 1 , 2 )
Jacobsthal–Lucas number H n ( 2 , 1 ; 1 , 2 )
Fermat number H n ( 0 , 1 ; 3 , 2 )
Fermat–Lucas number H n ( 2 , 3 ; 3 , 2 )
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.

Share and Cite

MDPI and ACS Style

Liu, J.-Y.; Li, H.-L.; Zhang, Z.-H. A Grammatical Interpretation of Horadam Sequences. Axioms 2025, 14, 819. https://doi.org/10.3390/axioms14110819

AMA Style

Liu J-Y, Li H-L, Zhang Z-H. A Grammatical Interpretation of Horadam Sequences. Axioms. 2025; 14(11):819. https://doi.org/10.3390/axioms14110819

Chicago/Turabian Style

Liu, Jun-Ying, Hai-Ling Li, and Zhi-Hong Zhang. 2025. "A Grammatical Interpretation of Horadam Sequences" Axioms 14, no. 11: 819. https://doi.org/10.3390/axioms14110819

APA Style

Liu, J.-Y., Li, H.-L., & Zhang, Z.-H. (2025). A Grammatical Interpretation of Horadam Sequences. Axioms, 14(11), 819. https://doi.org/10.3390/axioms14110819

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop