Skip to Content
SymmetrySymmetry
  • Article
  • Open Access

26 November 2026

12 Pages

Generalized Padovan Sequences Arising from the Graph Interpretation

,
and
The Faculty of Mathematics and Applied Physics, Rzeszów University of Technology, Al. Powstańców Warszawy 12, 35-029 Rzeszow, Poland
*
Author to whom correspondence should be addressed.
This article belongs to the Section B: Mathematics

Abstract

Graph interpretations of Fibonacci-type sequences have often inspired new generalizations and can be useful in determining their properties. In this paper, using the number of distance-independent sets containing all leaves of a graph, we investigate generalized Padovan sequences and generalized Padovan polynomials. In particular, we derive a binomial formula for generalized Padovan numbers and then we obtain an explicit formula and recurrence relation for generalized Padovan polynomials.
MSC:
11B39; 11B37; 11C20

1. Introduction

The Fibonacci sequence ( F n ) is defined by the second-order homogenous linear recurrence of the form F n = F n − 1 + F n − 2 , n ≥ 2 with the initial conditions F 0 = F 1 = 1 . This recurrence first appears in the book Liber Abacci in 1202 as a solution of the famous rabbit problem.
The sequence ( F n ) is widely studied in almost every field of modern science. For these reasons, as well as the huge number of applications of the Fibonacci sequence, other sequences defined by homogenous linear recurrence relations are named Fibonacci-type sequence, see [1] for details. A relatively young sequence of the Fibonacci type is the Padovan sequence named in honor of the mathematician R. Padovan who attributed its discovery to Dutch architect Dom Hans van der Laan in 1994 in the book [2]. A Padovan sequence ( P v ( n ) ) is defined by P v ( n ) = P v ( n − 2 ) + P v ( n − 3 ) for n ≥ 3 with the initial conditions P v ( 0 ) = P v ( 1 ) = P v ( 2 ) = 1 . Padovan numbers and their properties have been studied among others with regard to arithmetic problems [3,4], diophantic problems [5] and graph interpretations [6,7]. For Padovan sequence properties and representations, see the survey in The Online Encyclopedia of Integer Sequences, A134816 [8]. Some graph interpretations of Padovan numbers are directly related to the counting of independent sets in graphs. Let G be an undirected, connected, simple graph with the vertex set V ( G ) and the edge set E ( G ) . For x , y ∈ V ( G ) by d G ( x , y ) we mean the distance between vertices x and y in G. By P n , n ≥ 1 , we denote a path on n vertices. The well-known generalizations of the classical independent sets in graphs are independent sets generalized in the distance sense. Let k ≥ 2 be an integer. A subset S ⊆ V ( G ) is a k-independent set or a distance k-independent set of G if for every two distinct vertices x , y ∈ S it holds that d G ( x , y ) ≥ k . In particular the empty set and every subset containing exactly one vertex are k-independent for an arbitrary k ≥ 2 . For k = 2 , the definition reduces to the concept of an independent set in the classical sense. The parameter k in the definition of a k-independent set determines the smallest admissible distance between vertices from the k-independent set. Consequently, if S ⊆ V ( G ) is a ( k + i ) -independent set of G, for i ≥ 1 , then S is k-independent.
An investigation of the literature shows that classical independent sets and distance k-independent sets in graphs are studied with respect to the counting problems.
A lot of results related to k-independent sets, also in digraphs, have been obtained by M. Kwaśnik [9], M. Kucharska [10], Z. Skupień [11], H. Galeana-Sanchez and C. Hernandez-Cruz [12,13], A. Włoch and I. Włoch [7,14], W. Szumny et al. [15] and U. Bednarz et al. [1].
Let σ ( k ) ( G ) be the number of all k-independent sets in G.
The counting of k-independent sets was initiated by M. Kwaśnik and I. Włoch in [16]. Obtained results generalized the well-known observations of H. Prodinger and R. F. Tichy described in [17] and in a natural way gave the definition of the k-distance Fibonacci sequence and k-distance Lucas sequences.
Let k ≥ 2 , n ≥ 0 be integers. The k-distance Fibonacci sequence F ( n , k ) is defined by the linear recurrence relation
F ( n , k ) = F ( n − 1 , k ) + F ( n − k , k ) , for k ≥ 2 , n ≥ k , F ( n , k ) = n + 1 , for n ∈ { 0 , 1 , … k − 1 } .
The k-distance Lucas sequence L ( n , k ) is defined by the linear recurrence relation
L ( n , k ) = L ( n − 1 , k ) + L ( n − k , k ) , for k ≥ 2 , n ≥ 2 k , L ( n , k ) = n + 1 , for n ∈ { 0 , 1 , … 2 k − 1 } .
Terms of the sequences F ( n , k ) and L ( n , k ) are named as distance Fibonacci numbers and distance Lucas numbers, respectively.
Theorem 1
([16]). Let k ≥ 2 , n ≥ 0 be integers. Then σ ( k ) ( P n ) = F ( n , k ) and σ ( k ) ( C n ) = L ( n , k ) .
Analytic formulas for distance Fibonacci numbers were given by A.P. Stakhov and B. Rozin [18].
For properties of sequences F ( n , k ) and L ( n , k ) and other distance generalizations of the Fibonacci sequence, see [1]. The counting of k-independent sets leads to generalizations of Fibonacci-type sequences, for example the Pell sequence and the Jacobsthal sequence, see [1].
Connections between the number of independent sets in graphs with numbers of the Fibonacci type are the reason that in recent decades a number of results were obtained, see [6,19,20,21,22]. In particular in some papers dealing with the theory of counting maximal (with respect to set inclusion) independent sets Padovan numbers appear, see [7,23]. By analogy, counting maximal k-independent sets in special graphs can naturally provide, a generalization of Padovan numbers. Recall that the problem of determining the number of maximal independent sets was first studied in trees. The maximum value of the number of maximal independent sets in trees was determined by Wilf in [24]. The number of maximal k-independent sets was also studied, among others in some graphs products [15], sometimes with additional restrictions [25]. Let L ( G ) be the set of leaves in G. In this paper we study maximal k-independent sets in G that include the set of leaves L ( G ) as a subset. These kinds of maximal independent sets play an important role in studying independent (1,2)-dominating sets which were introduced by Hedetniemi et al. in 2008, see [26], and subsequently studied by Michalski et al. [23,27] and Raczek [28]. The following has been proved:
Theorem 2
([23]). If S is a maximal independent set including the set of leaves of a graph G then S is an independent (1,2)-dominating set of G.
Theorem 3
([25]). The number of all maximal independent sets S including the set of leaves in a graph P n , n ≥ 3 , is equal to P v ( n − 3 ) .
Theorem 4
([23]). The number of all independent (1,2)-dominating sets in P n , n ≥ 3 , is equal to P v ( n − 3 ) .
The main purpose of this paper is to study connections between the total number of maximal k-independent sets including the set of leaves in paths and a distance generalization of Padovan sequence. In the next section using this interpretation we discover a binomial formula and in Section 3, we define generalized Padovan polynomials.

2. k-Distance Padovan Sequences

In [7], a generalization of the Padovan sequence was introduced as a consequence of the counting of maximal k-independent sets including the set of leaves in a graph P n , n ≥ 1 .
Let n ≥ 1 , k ≥ 2 be integers. A k-distance Padovan sequence ( P v ( n , k ) ) is defined by the recurrence relation
P v ( n , k ) = P v ( n − k , k ) + P v ( n − k − 1 , k ) + … + P v ( n − 2 k + 1 , k ) for n ≥ 2 k + 1
with the initial conditions
P v ( i , k ) = 0 for i ∈ { 1 , … , k } , 1 for i ∈ { k + 1 , … , 2 k } .
If k = 2 and n ≥ 3 then P v ( n , 2 ) = P v ( n − 3 ) . Terms of the sequence P v ( n , k ) are called k-distance Padovan numbers. Table 1 includes the first terms of k-distance Padovan numbers P v ( n , k ) , for special values n and k.
Table 1. k-distance Padovan numbers P v ( n , k ) for k ∈ { 2 , 3 , 4 , 5 , 6 , 7 } and n ∈ { 1 , 2 , … , 18 } .
Theorem 5
([7]). Let n ≥ 1 , k ≥ 2 be integers. Then P v ( n , k ) is the number of maximal k-distance-independent sets including the set of leaves in P n .
If k = 2 , then from Theorem 5 immediately follows Theorem 3.
For classical Padovan numbers, binomial formulas are known. It is well-known that
P v ( n − 2 ) = ∑ m = ⌈ n / 3 ⌉ ⌊ n / 2 ⌋ m n − 2 m , n ≥ 2 .
Recently, M. Pirga et al. gave another binomial formula for Padovan numbers using the graph interpretation related to independent ( 1 , 2 ) -dominating sets.
Theorem 6
([29]). Let n ≥ 3 be integer. Then
P v ( n ) = ∑ p ≥ 2 p − 1 n − 2 p + 4 .
For Padovan numbers P v ( n , k ) , we discover a binomial formula and consequently we give another binomial formula for Padovan numbers.
For integer k ≥ 2 , t ≥ 2 , n ≥ 1 , let S ( n , k , t ) be the family of all t-element, maximal k-independent sets including the set of leaves in the graph P n , n ≥ k + 1 and S ( n , k ) = ⋃ t ≥ 2 S ( n , k , t ) . It is obvious that for n ∈ { 1 , … , k } and k ≥ 2 there does not exist a maximal k-independent set including the set of leaves in a graph P n , so | S ( n , k , t ) | = 0 . S In the following formulas, we use the convention that a b = 0 whenever a < 0 , b < 0 , or b > a .
Theorem 7.
Let n ≥ k + 1 , k ≥ 2 and 2 ≤ t ≤ n − 1 k + 1 be integers. Then
| S ( n , k , t ) | = ∑ j = 0 t − 1 ( − 1 ) j · t − 1 j · n − ( t + j − 1 ) k + t − 3 t − 2 .
Proof. 
Let n ≥ k + 1 , k ≥ 2 and t ≥ 2 be integers. Let V ( P n ) = { x 1 , … , x n } be the set of vertices of P n with the numbering in the natural fashion. To determine the cardinality of the family S ( n , k , t ) it suffices to find the total number of maximal k-independent sets including the set of leaves. Let S ∈ S ( n , k , t ) . For convenience, instead of the set S we can consider a binary n-tuple a = ( a 1 , a 2 , … , a n ) such that
(i)
a i = 1 if x i ∈ S , 0 otherwise ;
(ii)
∑ i = 1 n a i = t ;
(iii)
If a i = a j = 1 are consecutive ones, then k ≤ | i − j | ≤ 2 k − 1 ;
(iv)
a 1 = a n = 1 .
  • To calculate the number of all n-tuples satisfying conditions (i)–(iv), first we study a tuple b = ( b 1 , b 1 1 , … , b 1 k − 1 , b 2 , b 2 1 , … , b 2 k − 1 , … , b t − 1 1 , … , b t − 1 k − 1 , b t ) such that b j = 1 for j ∈ { 1 , … , t } and b j r = 0 for r ∈ { 1 , … , k − 1 } . Then the tuple b satisfies conditions (i), (ii) and (iv) and b has ( t − 1 ) k + 1 words. To obtain the n-tuple a = ( a 1 , … , a n ) we have to add exactly n − ( t − 1 ) k − 1 zeros such that condition (iii) is also fulfilled. Observe that equivalently it suffices to consider a decomposition (i.e., an ordered partition) of the number n − ( t − 1 ) k − 1 into t − 1 summands as follows: n − ( t − 1 ) k − 1 = m 1 + m 2 + … + m t − 1 where m i ∈ { 0 , 1 , … , k − 1 } . Every m i corresponds to the number of zeros added between words b j , b j + 1 , j ∈ { 1 , … , t − 1 } . Then the number of all decompositions is equal to the number of all n-tuples a = ( a 1 , a 2 … , a n ) satisfying (i)–(iv).
Consider the equation
n − ( t − 1 ) k − 1 = m 1 + m 2 + ⋯ + m t − 1 , where m i ∈ { 0 , 1 , … , k − 1 } .
It is well-known that the number of non-negative integer solutions of the equation x 1 + x 2 + ⋯ + x p = m is equal to m + p − 1 p − 1 , see [30]. Applying it to Equation (2), the number of all solutions is given by the binomial expression
n − ( t − 1 ) k + t − 3 t − 2 .
Then we obtain the total number of decompositions of n − ( t − 1 ) k − 1 into t − 1 summands with no restrictions. However in Equation (2), we assume that m i ∈ { 0 , 1 , … , k − 1 } , so we use the principle of inclusion–exclusion. Let j = | { i : m i ≥ k , 1 ≤ i ≤ t − 1 } | . We consider the following cases:
  • j ≥ 0 . By previous considerations, the number of all non-negative solutions is
    n − ( t − 1 ) k + t − 3 t − 2 .
  • j ≥ 1 . Then there is at least one i ∈ { 1 , … , t − 1 } such that m i ≥ k . Without loss of generality, let m 1 ≥ k and m 1 = k + m 1 ′ , where m 1 ′ ≥ 0 . Putting this into Equation (2), we get
    n − ( t − 1 ) k − 1 − k = m 1 ′ + m 2 + ⋯ + m t − 1 .
    Then, using the expression (3), the number of solutions to this equation is
    n − t k + t − 3 t − 2 .
    Since the summand m i ≥ k can be chosen in t − 1 ways, the total number of such cases is
    ( t − 1 ) · n − t k + t − 3 t − 2 .
    Then it suffices to subtract from (3) the expression (4), i.e., to remove cases where one summands is greater than k − 1 .
  • j ≥ 2 . Then there are at least two summands, m i , m j ≥ k . Suppose that m 1 , m 2 ≥ k and m 1 = k + m 1 ′ and m 2 = k + m 2 ′ . Analogously, as in the previous case, we have the equation
    n − ( t − 1 ) k − 1 − 2 k = m 1 ′ + m 2 ′ + m 3 + ⋯ + m t − 1
    and the number of solutions to this equation is
    n − ( t + 1 ) k + t − 3 t − 2 .
    There are t − 1 2 ways to choose two summands out of t − 1 that can be greater than k − 1 . Thus, the total number of such cases is
    t − 1 2 · n − ( t + 1 ) k + t − 3 t − 2 .
    We add this back to (4), as these cases were removed twice in the j ≥ 1 step. Then we consider cases for j ≥ 3 , which we must subtract. Continuing this reasoning, we can see that we must subtract cases for odd j and add them for even j.
  • We determine the number of solutions under the assumption that j summands can be greater than k − 1 . Let m 1 , m 2 , … , m j ≥ k . Writing these summands as m j = k + m j ′ , the equation becomes
n − ( t − 1 ) k − 1 − j k = m 1 ′ + m 2 ′ + ⋯ + m j ′ + ⋯ + m t − 1 .
The number of solutions to this equation is
n − ( t + j − 1 ) k + t − 3 t − 2 .
There are t − 1 j ways to choose j summands from t − 1 . Hence, the total number of such cases is
( − 1 ) j · t − 1 j · n − ( t + j − 1 ) k + t − 3 t − 2 .
The element ( − 1 ) j means that for odd values of j, we remove the cases where summands are greater than k − 1 and for even values of j we add them back to correct for the overcounting that appeared in the previous steps.
Taking the sum over all possible values j ∈ { 0 , … , t − 1 } , we get the final formula of the form
| S ( n , k , t ) | = ∑ j = 0 t − 1 ( − 1 ) j · t − 1 j · n − ( t + j − 1 ) k + t − 3 t − 2
by the graph interpretation, which ends the proof. □
From the graph interpretation of the number | S ( n , k , t ) | and Theorem 5 summing over all possible t ≥ 2 , we immediately obtain the binomial formula for k-distance Padovan numbers P v ( n , k ) .
Theorem 8.
Let n ≥ k + 1 and k ≥ 2 be integers. Then
P v ( n , k ) = ∑ t = 2 n − 1 k + 1 ∑ j = 0 t − 1 ( − 1 ) j t − 1 j n − ( t + j − 1 ) k + t − 3 t − 2 .
Consider an example k = 2 and n = 8 . Then, by Theorem 8, we obtain that
P v ( 8 , 2 ) = ∑ t = 2 4 ∑ j = 0 t − 1 ( − 1 ) j t − 1 j 8 − 2 ( t + j − 1 ) + t − 3 t − 2 = 0 + 0 + 3 = 3 .
This means that a graph P 8 has exactly three maximal independent sets including the set of leaves.
Since P v ( n , 2 ) = P v ( n − 3 ) , putting k = 2 , we obtain a new binomial formula for ( n − 3 ) Padovan numbers in the classical sense.
Corollary 1.
Let n ≥ 3 be an integer. Then
P v ( n − 3 ) = ∑ t = 2 n − 1 2 + 1 ∑ j = 0 t − 1 ( − 1 ) j t − 1 j n − 2 ( t + j ) + t − 1 t − 2 .

3. k -Distance Padovan Polynomials of a Graph

A special direction of generalization of Fibonacci-type sequences are Fibonacci-type polynomials. In 1883 Catalan introduced and studied Fibonacci polynomials f n ( x ) by the following recurrence relation: f n ( x ) = x f n − 1 ( x ) + f n − 2 ( x ) for n ≥ 2 with initial conditions f 0 ( x ) = f 1 ( x ) = 1 , see for details [31]. Some properties of Fibonacci polynomials can be found in [18,32,33]. Clearly, f n ( 1 ) = F n . Generalizations of polynomials of the Fibonacci type are mainly concentrated on the combinatorial properties, among others, that concern generating functions or solving recurrence relations called Binet-type problems, see [21,22,33]. However, in the literature we can find the definition of Fibonacci polynomials which arises from counting problems of the graph theory. Graph interpretations of Fibonacci-type sequences are also interesting because of their applications, see for example [19]. In [20], G. Hopkins and W. Staton introduced the Fibonacci polynomial f G ( x ) of a graph as the total number of independent sets in the composition of two graphs. They proved that
f P n ( x ) = ∑ p ≥ 0 n − p + 1 p x p ,
f C n ( x ) = 1 + ∑ p ≥ 1 n p n − p − 1 p − 1 x p .
Next, generalized Fibonacci polynomials of graphs using the number of all distance k-independent sets were introduced by Włoch in [34] and then studied by Szumny et al. in [15] and Bednarz and Wołowiec-Musiał in [21,22]. Inspired by their results, we introduce k-distance Padovan polynomials in graphs using the well-known G-join of graphs. Let G be a connected graph and V ( G ) = { t 1 , … , t n } , n ≥ 2 , and h n = ( H i ) i ∈ { 1 , … , n } be a sequence of vertex disjoint graphs H i on V ( H i ) = { ( t i , y 1 ) , … , ( t i , y x ) } , x ≥ 1 . By the G-join of a graph G and the sequence ( h n ) we mean the graph G [ h n ] such that V ( G [ h n ] ) = ⋃ i = 1 n V ( H i ) and E ( G [ h n ] ) = ⋃ i = 1 n E ( H i ) ∪ { ( t i , y p ) , ( t j , y q ) : t i t j ∈ E ( G ) } . If H i = H for all i ∈ { 1 , … , n } , then we obtain the definition of a composition of two graphs G and H in the classical sense.
For an illustration of the definition of G-join, consider an example on the Figure 1.
Figure 1. The graph P 6 [ P 3 , C 4 , N 2 , P 4 , C 3 , K 1 ] .
For an integer k ≥ 3 and a variable x ≥ 1 , the k-distance Fibonacci polynomial f G ( k , x ) of a graph G of order n, n ≥ 2 , is defined by f G ( k , x ) = σ ( k ) ( G [ h n ] ) , where h n = ( H i ) i ∈ { 1 , … , n } is a sequence of arbitrary vertex disjoint graphs such that | V ( H i ) | = | V | = x .
Theorem 9
([34]). Let n ≥ k + 1 , k ≥ 3 , x ≥ 1 be integers. Then
f P n ( k , x ) = ∑ p ≥ 0 n − ( p − 1 ) ( k − 1 ) p x p ,
f C n ( k , x ) = 1 + n x + ∑ p ≥ 2 n p n − p ( k − 1 ) − 1 p − 1 x p .
Let S ⊆ V ( G [ h n ] ) . The projection of S onto the graph G is defined by π G ( S ) = { t i ∈ V ( G ) : there is y p ∈ V ( H i ) such that ( t i , y p ) ∈ S } . For each t i ∈ V ( G ) , the projection of S onto the graph H i is defined as π H i ( S ) = { ( t i , y p ) ∈ V ( H i ) : ( t i , y p ) ∈ S } . The G-join of graphs is a wide operation and it was intensively studied with respect to distinct graph problems also in relation to k-independent sets, see, for example, results given by Topp [35], Włoch and Włoch [14], Kucharska [10], Dosal-Trujillo and Galeana-Sanchez [36], and Szumny et al. [15]. For future investigations into k-independent sets in the G-join, it is necessary to use the following lemma.
Theorem 10
([14]). Let ( t i , y p ) , ( t j , y q ) ∈ V ( G [ h n ] ) . Then
d G [ h n ] ( ( t i , y p ) , ( t j , y q ) ) = d G ( t i , t j ) for i ≠ j , 1 for i = j and d H i ( y p , y q ) = 1 , 2 otherwise .
The characterization of independent sets and maximal independent sets in G-join were given in [15,35].
Theorem 11
([15]). A subset S ⊂ V ( G [ h n ] ) is independent of G [ h n ] if and only if the projection π G ( S ) is independent in G and the set π H i ( S ) is independent in H i for all t ∈ π G ( S ) .
Theorem 12
([35]). A subset S ⊂ V ( G [ h n ] ) is a maximal independent of G [ h n ] if and only if the projection π G ( S ) is maximal independent in G and the set π H i ( S ) is a maximal independent set of H i for all t ∈ π G ( S ) .
Theorem 13
([15]). Let k ≥ 3 be an integer. A subset S ⊂ V ( G [ h n ] ) is a maximal k-independent set of G [ h n ] if and only if the projection π G ( S ) is a maximal k-independent set in G and the set π H i ( S ) has exactly one vertex for all t i ∈ π G ( S ) .
Let k ≥ 2 be an integer. Let G be a connected graph of order n, n ≥ k + 1 , with L ( G ) ≠ ∅ . Every connected graph with n ≥ 3 and L ( G ) ≠ ∅ has a maximal independent set including the set of leaves. If k ≥ 3 and L ( G ) ≠ ∅ , then every graph has not always had a k-independent set, including the set of leaves. By simple observation, we deduce that for k ≥ 3 a graph G has a k-independent set including the set L ( G ) if and only if L ( G ) includes exactly one vertex or for each x , y ∈ L ( G ) , d G ( x , y ) ≥ k .
For future investigations suppose that G is a connected graph such that L ( G ) ≠ ∅ and G has a maximal k-independent set, k ≥ 2 .
Let σ L , m a x ( k ) ( G , n , t ) be the number of all t-element maximal k-independent sets including L ( G ) in an n-vertex graph G. Let σ L , m a x ( k ) ( G ) be the number of all maximal k-independent sets including L ( G ) in G. Clearly, for every n-vertex graph, G holds such that σ L , m a x ( k ) ( G ) = ∑ t ≥ 1 σ L , m a x ( k ) ( G , n , t ) . Let S π ( G ) ⊂ V ( G [ h n ] ) be a maximal k-independent set of G [ h n ] such that the projection π G ( S ) is a maximal k-independent set including L ( G ) . We denote the number of all such sets S π ( G ) by σ L , m a x ( k ) ( G [ h n ] π ( G ) ) .
For arbitrary integers k ≥ 2 and x ≥ 1 the k-distance Padovan polynomial P v ( G , k , x ) in a variable x of a graph G of order n, n ≥ 3 , is defined by P v ( G , k , x ) = σ L , m a x ( k ) ( G [ h n ] π ( G ) ) , where for k ≥ 3 the sequence h n = ( H i ) i ∈ { 1 , … , n } is an arbitrary sequence of vertex disjoint graphs with | V ( H i ) | = | V | = x , x ≥ 1 , and for k = 2 the sequence h n = ( K x ( i ) ) i ∈ { 1 , … , n } , where K x ( i ) is the i-th copy of a complete graph K x , x ≥ 1 .
Theorem 14.
Let k ≥ 2 , n ≥ 3 , x ≥ 1 be integers. Then for every graph G such that L ( G ) ≠ ∅ that has a maximal k-independent set including L ( G ) the k-distance Padovan polynomial has the form
P v ( G , k , x ) = ∑ t ≥ 1 σ L , m a x ( k ) ( G , n , t ) x t .
Proof. 
Let G be a graph satisfying the assumptions of the theorem. We consider the following cases:
  • k = 2 . In this case, the sequence ( h n ) consists of n copies of the complete graph K x , denoted as K x ( i ) for i ∈ { 1 , … , n } . Let S π ( G ) ⊆ V ( G [ h n ] ) be a t-element maximal independent set in G [ h n ] , such that the projection π G ( S ) is a maximal independent set including L ( G ) in G. To obtain a set S π ( G ) using Theorem 12 we know that firstly we have to choose a t-element maximal independent set including L ( G ) in a graph G and then choose exactly one vertex in each copy K x ( i ) . Because we can do it into x ways, we have σ L , m a x ( 2 ) ( G , n , t ) x t possibilities for an independent set in G [ h n ] , such that the projection on G is a maximal independent set including the set of leaves in G. So, P v ( G , 2 , x ) = ∑ t ≥ 1 σ L , m a x ( 2 ) ( G , n , t ) x t .
  • k ≥ 3 . In this case, the sequence ( h n ) consists of n arbitrary graphs H i of order | V ( H i ) | = x . Let S π ( G ) ⊆ V ( G [ h n ] ) be a maximal k-independent set in G [ h n ] such that the projection π G ( S ) is a maximal k-independent set including L ( G ) in G. Using Theorem 10 we know that at most one vertex from each graph H i , i ∈ { 1 , … , n } , can belong to S π ( G ) . By applying Theorem 13 and proceeding analogously as in case 1, the result follows.
□
Using results given in Theorems 7 and 14 we immediately obtain Padovan polynomials of paths.
Corollary 2.
Let n ≥ k + 1 and k ≥ 2 be integers. Then
P v ( P n , k , x ) = ∑ t = 2 n − 1 k + 1 ∑ j = 0 t − 1 ( − 1 ) j t − 1 j n − ( t + j − 1 ) k + t − 3 t − 2 x t .
Now we provide the recurrence formula for P v ( P n , k , x ) which defines the k-distance Padovan polynomials.
Theorem 15.
Let k ≥ 2 , n ≥ 0 , x ≥ 1 be integers. Then
P v ( P n , k , x ) = x ( P v ( P n − k , k , x ) + P v ( P n − k − 1 , k , x ) + … + P v ( P n − 2 k + 1 , k , x ) ) ,
for n ≥ 2 k + 1 with the initial conditions
P v ( P i , k , x ) = 0 for i ∈ { 1 , … , k } , x 2 for i ∈ { k + 1 , … , 2 k } .
Proof. 
For n ∈ { 0 , 1 , … , 2 k } , the result immediately follows from the definition of P v ( G , k , x ) . Suppose that the theorem is valid for a graph P r [ h r ] , where r < n . Let us assume that V ( P n ) = { t 1 , … , t n } , n ≥ 2 k + 1 , with the numbering of vertices in the natural fashion. Clearly { t 1 , t n } ⊂ L ( P n ) . Let S be a maximal k-independent set of P n including L ( P n ) . We consider the following cases:
  • k = 2 . Because t n ∈ S , t n − 1 ∉ S . Then either t n − 2 ∈ S or t n − 2 ∉ S and t n − 3 ∈ S . Then, by the definition of P v ( G , k , x ) and the induction hypothesis, the equality follows P v ( P n , 2 , x ) = x ( P v ( P n − 2 , 2 , x ) + P v ( P n − 3 , 2 , x ) ) .
  • k ≥ 3 . Because t n ∈ S , { t n − 1 , … , t n − ( k − 1 ) } ∩ S = ∅ . Based on the definition of P v ( P n , k , x ) and the induction hypothesis, we get x P v ( P n − k , k , x ) possibilities. Then | { t n − k , … , t n − 2 k + 1 } ∩ S | = 1 otherwise, S is not a maximal k-independent set. Proving analogously, as in case 1, we obtain Equation (5).
□
From the above interpretation we give the definition of k-distance Padovan polynomials the form
P v ( n , k , x ) = x ( P v ( n − k , k , x ) + P v ( n − k − 1 , k , x ) + … + P v ( n − 2 k + 1 , k , x ) ) for n ≥ 2 k + 1
with the initial conditions
P v ( i , k , x ) = 0 for i ∈ { 1 , … , k } , x 2 for i ∈ { k + 1 , … , 2 k } .
Table 2 includes first words of the k-distance Padovan polynomials P v ( n , k , x ) for special values n and k.
Table 2. k-distance Padovan polynomials P v ( n , k , x ) for k ∈ { 2 , 3 , 4 } .
In particular, for x = 1 , we have P v ( n , 2 , 1 ) = P v ( n − 3 ) . Consequently, by previous considerations, we immediately obtain the direct formula for P v ( n , k , x ) .
Corollary 3.
Let n ≥ k + 1 and k ≥ 2 be integers. Then
P v ( n , k , x ) = ∑ t = 2 n − 1 k + 1 ∑ j = 0 t − 1 ( − 1 ) j t − 1 j n − ( t + j − 1 ) k + t − 3 t − 2 x t .
We determine the generating function P k ( x ) = ∑ n = 1 ∞ P v ( n , k ) x n for the sequence P v ( n , k ) which is defined recursively for n ≥ 2 k + 1 as
P v ( n , k ) = ∑ j = 0 k − 1 P v ( n − k − j , k ) ,
with the initial conditions
P v ( i , k ) = 0 for i ∈ { 1 , … , k } , 1 for i ∈ { k + 1 , … , 2 k } .
Because for n ∈ { 1 , … , k } , P v ( n , k ) = 0 , and for n ∈ { k + 1 , … , 2 k } , P v ( n , k ) = 1 , we get
P k ( x ) = ∑ n = k + 1 2 k x n + ∑ n = 2 k + 1 ∞ P v ( n , k ) x n .
For n ≥ 2 k + 1 , the recurrence is given by
∑ n = 2 k + 1 ∞ P v ( n , k ) x n = ∑ j = 0 k − 1 ∑ n = 2 k + 1 ∞ P v ( n − k − j , k ) x n ,
thus
∑ n = 2 k + 1 ∞ P v ( n − k − j , k ) x n = x k + j ∑ n = 1 ∞ P v ( n , k ) x n = x k + j F k ( x ) .
Summing over j, we have
∑ j = 0 k − 1 x k + j F k ( x ) = F k ( x ) x k ∑ j = 0 k − 1 x j ,
and we get
∑ n = 2 k + 1 ∞ P v ( n , k ) x n = F k ( x ) x k 1 − x k 1 − x .
Finally
P k ( x ) = x k + 1 1 − x k 1 − x + F k ( x ) x k 1 − x k 1 − x .
The generating function for the sequence P v ( n , k ) is
P k ( x ) = x k + 1 ( 1 − x k ) 1 − x − x k + x 2 k .

4. Conclusions

Counting the variants of independent sets in graphs in different directions very often provides us with applications of known numbers in combinatorics. We obtain not only Fibonacci numbers but also Pell numbers, Padovan numbers, and Jacobsthal numbers as the exact or extremal value.
By modifying the recurrence relations of Fibonacci-type sequences, we have defined new sequences. One direction of generalization focuses on the distance between terms, such that for an arbitrary positive integer k, the nth term can be obtained by summing previous terms in such a way that exactly one term is the ( n − k ) th term of the sequence.
Although such distance generalization primarily concerns the Fibonacci sequence, it was also extended to other well-known Fibonacci-type sequences, such as the Padovan sequence.
Distance generalization of the Padovan sequence follows from counting maximal k-independent sets, including the set of leaves in paths. Using this interpretation, we discovered the binomial formula for P v ( n , k ) .

Author Contributions

Conceptualization, M.P., A.W. and I.W.; methodology, M.P., A.W. and I.W.; formal analysis, M.P., A.W. and I.W.; investigation, M.P., A.W. and I.W.; writing—original draft, M.P., A.W. and I.W.; writing—review and editing, M.P., A.W. and I.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bednarz, U.; Włoch, A.; I. Włoch, M. Wołowiec-Musiał, Distance Fibonacci Sequences; Oficyna Wydawnicza Politechniki Rzeszowskiej: Rzeszów, Poland, 2025. [Google Scholar]
  2. Padovan, R. Dom Hans Van Der Laan: Modern Primitive; Architectura Natura Press: Amsterdam, The Netherlands, 1994. [Google Scholar]
  3. Garcia Lomeli, A.C.; Hernandez, S.H. Pillai’s problem with Padovan numbers and powers of two. Rev. Colomb. De Matemáticas 2019, 53, 1–14. [Google Scholar] [CrossRef] [Scilit]
  4. Garcia Lomeli, A.C.; Hernandez, S.H. Powers of two as sums of two Padovan numbers. Integers 2018, 18, A84. [Google Scholar]
  5. Ddamulira, M. On the x-coordinates of Pell equations that are sums of two Padovan numbers. Bol. Soc. Mat. Mex. 2021, 27, 23. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Bednarz, U.; Włoch, A.; Wołowiec-Musiał, M. Distance Fibonacci numbers, their interpretations and matrix generators. Comment. Math. 2013, 53, 35–46. [Google Scholar] [CrossRef] [Scilit]
  7. Włoch, A.; Włoch, I. Generalized Padovan numbers, Perrin numbers and maximal k-independent sets in graphs. Ars. Comb. 2011, 99, 359–364. [Google Scholar]
  8. The OEIS Foundation Inc. The Online Encyclopedia of Integer Sequences; The OEIS Foundation Inc.: West Trenton, NJ, USA, 2011; Available online: https://oeis.org/A134816 (accessed on 23 November 2026).
  9. Kwaśnik, M. On (k, l)-Kernels on Graphs and Their Products. Ph.D. Thesis, Technical University of Wrocław, Wrocław, Poland, 1980. [Google Scholar]
  10. Kucharska, M. On (k, l)-kernel perfectness of special classes of digraphs. Discuss. Math. Graph Theory 2005, 25, 103–119. [Google Scholar]
  11. Skupień, Z. Sums of powered characteristic roots count distance-independent circular sets. Discuss. Math. Graph Theory 2013, 33, 217–229. [Google Scholar] [CrossRef] [Scilit]
  12. Galeana-Sanchez, H.; Hernandez-Cruz, C. On the existence of (k, l)-kernels in digraphs with a given circumference. AKCE Int. J. Graphs Comb. 2013, 10, 15–28. [Google Scholar]
  13. Hernandez-Cruz, C. A Contribution to the Theory of (k, l)-Kernels in Digraphs. Ph.D. Thesis, Universidad Nacional Autónoma de Mexico, Mexico City, Mexico, 2011. [Google Scholar]
  14. Włoch, A.; Włoch, I. On (k, l)-kernels in generalized products. Discret. Math. 1997, 164, 295–301. [Google Scholar]
  15. Szumny, W.; Włoch, I.; Włoch, A. On the existence and on the number of (k, l)-kernels in the lexicographic product of graphs. Discret. Math. 2008, 308, 4616–4624. [Google Scholar] [CrossRef] [Scilit]
  16. Kwaśnik, M.; Włoch, I. The total number of generalized stable sets and kernels of graphs. Ars. Comb. 2000, 55, 139–146. [Google Scholar]
  17. Prodinger, H.; Tichy, R.F. Fibonacci numbers of graphs. Fibonacci Q. 1982, 20, 16–21. [Google Scholar] [CrossRef] [Scilit]
  18. Stakhov, A.; Rozin, B. Theory of Binet formulas for Fibonacci and Lucas p-numbers. Chaos Solitons Fractals 2006, 27, 1162–1177. [Google Scholar] [CrossRef] [Scilit]
  19. Gutman, I.; Wagner, S. Maxima and Minima of the Hosoya Index and the Merrifield-Simmons Index. Acta Appl. Math. 2010, 112, 323–346. [Google Scholar] [CrossRef] [Scilit]
  20. Hopkins, G.; Staton, W. Some identities arising from the Fibonacci numbers of certain graphs. Fibonacci Q. 1984, 22, 255–258. [Google Scholar] [CrossRef] [Scilit]
  21. Bednarz, U.; Wołowiec-Musiał, M. Distance Fibonacci Polynomials. Symmetry 2020, 12, 1540. [Google Scholar] [CrossRef] [Scilit]
  22. Bednarz, U.; Wołowiec-Musiał, M. Distance Fibonacci Polynomials-Part II. Symmetry 2021, 13, 1723. [Google Scholar] [CrossRef] [Scilit]
  23. Michalski, A.; Włoch, I. On the existence and the number of independent (1, 2)-dominating sets in the G-join of graphs. Appl. Math. Comput. 2020, 377, 125155. [Google Scholar] [CrossRef] [Scilit]
  24. Wilf, H. The numbers of maximal independent sets in a tree. SIAM J. Alg. Discret. Methods. 1986, 7, 125–130. [Google Scholar] [CrossRef] [Scilit]
  25. Włoch, I. Trees with the extremal numbers of maximal independent sets including the set of leaves. Discret. Math. 2008, 308, 4768–4772. [Google Scholar] [CrossRef] [Scilit]
  26. Hedetniemi, S.M.; Hedetniemi, S.T.; Knisely, J.; Rall, D.F. Secondary domination in graphs. AKCE Int. J. Graphs Comb. 2008, 5, 103–115. [Google Scholar]
  27. Michalski, A.; Włoch, I.; Dettlaff, M.; Lemańska, M. On proper (1, 2)-dominating sets in graphs. Math. Methods Appl. Sci. 2022, 45, 7050–7057. [Google Scholar] [CrossRef] [Scilit]
  28. Raczek, J. Polynomial Algorithm for Minimal (1, 2)-Dominating Set in Networks. Electronics 2022, 11, 300. [Google Scholar] [CrossRef] [Scilit]
  29. Pirga, M.; Włoch, A.; Włoch, I. Some new graph interpretations of Padovan numbers. Symmetry 2024, 16, 1493. [Google Scholar] [CrossRef] [Scilit]
  30. Ross, K.A.; Wright, C.R.B. Discrete Mathematics, 3rd ed.; Prentice-Hall, Inc.: Englewood Cliffs, NJ, USA, 1992. [Google Scholar]
  31. Koshy, T. Fibonacci and Lucas Numbers with Applications; John Wiley and Sons: New York, NY, USA, 2001. [Google Scholar]
  32. Kilic, E. The Binet formula, sums and representations of generalized Fibonacci p-numbers. Eur. J. Comb. 2008, 29, 701–711. [Google Scholar] [CrossRef] [Scilit]
  33. Trojovsky, P. On the characteristic polynomial of (k, p)-Fibonacci sequence. Adv. Differ. Equ. 2021, 2021, 28. [Google Scholar] [CrossRef] [Scilit]
  34. Włoch, I. Generalized Fibonacci polynomial of graph. Ars. Comb. 2003, 68, 49–55. [Google Scholar]
  35. Topp, J. Domination, independence and irredundance in graphs. In Dissertationes Mathematicae; Instytut Matematyczny PAN: Warszawa, Poland, 1995. [Google Scholar]
  36. Dosal-Trujillo, L.A.; Galeana-Sanchez, H. On the Fibonacci numbers of the composition of graphs. Discret. Appl. Math. 2019, 266, 213–218. [Google Scholar] [CrossRef] [Scilit]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.