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 is defined by the second-order homogenous linear recurrence of the form , with the initial conditions . This recurrence first appears in the book Liber Abacci in 1202 as a solution of the famous rabbit problem.
The sequence 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 is defined by for with the initial conditions . 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 and the edge set . For by we mean the distance between vertices x and y in G. By , , 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 be an integer. A subset is a k-independent set or a distance k-independent set of G if for every two distinct vertices it holds that . In particular the empty set and every subset containing exactly one vertex are k-independent for an arbitrary . For , 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 is a -independent set of G, for , 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 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 , be integers. The k-distance Fibonacci sequence is defined by the linear recurrence relation
The k-distance Lucas sequence is defined by the linear recurrence relation
Terms of the sequences and are named as distance Fibonacci numbers and distance Lucas numbers, respectively.
Theorem 1
([16]). Let , be integers. Then and .
Analytic formulas for distance Fibonacci numbers were given by A.P. Stakhov and B. Rozin [18].
For properties of sequences and 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 be the set of leaves in G. In this paper we study maximal k-independent sets in G that include the set of leaves 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 , , is equal to .
Theorem 4
([23]). The number of all independent (1,2)-dominating sets in , , is equal to .
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 , .
Let , be integers. A k-distance Padovan sequence is defined by the recurrence relation
with the initial conditions
If and then . Terms of the sequence are called k-distance Padovan numbers. Table 1 includes the first terms of k-distance Padovan numbers , for special values n and k.
Table 1.
k-distance Padovan numbers for and .
Theorem 5
([7]). Let , be integers. Then is the number of maximal k-distance-independent sets including the set of leaves in .
If , then from Theorem 5 immediately follows Theorem 3.
For classical Padovan numbers, binomial formulas are known. It is well-known that
Recently, M. Pirga et al. gave another binomial formula for Padovan numbers using the graph interpretation related to independent -dominating sets.
Theorem 6
([29]). Let be integer. Then
For Padovan numbers , we discover a binomial formula and consequently we give another binomial formula for Padovan numbers.
For integer , , , let be the family of all t-element, maximal k-independent sets including the set of leaves in the graph , and . It is obvious that for and there does not exist a maximal k-independent set including the set of leaves in a graph , so . S In the following formulas, we use the convention that whenever , , or .
Theorem 7.
Let , and be integers. Then
Proof.
The number of solutions to this equation is
There are ways to choose j summands from . Hence, the total number of such cases is
The element means that for odd values of j, we remove the cases where summands are greater than and for even values of j we add them back to correct for the overcounting that appeared in the previous steps.
Let , and be integers. Let be the set of vertices of with the numbering in the natural fashion. To determine the cardinality of the family it suffices to find the total number of maximal k-independent sets including the set of leaves. Let . For convenience, instead of the set S we can consider a binary n-tuple such that
- (i)
- (ii)
- ;
- (iii)
- If are consecutive ones, then ;
- (iv)
- .
- To calculate the number of all n-tuples satisfying conditions (i)–(iv), first we study a tuple such that for and for . Then the tuple b satisfies conditions (i), (ii) and (iv) and b has words. To obtain the n-tuple we have to add exactly 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 into summands as follows: where . Every corresponds to the number of zeros added between words , , . Then the number of all decompositions is equal to the number of all n-tuples satisfying (i)–(iv).
Consider the equation
It is well-known that the number of non-negative integer solutions of the equation is equal to , see [30]. Applying it to Equation (2), the number of all solutions is given by the binomial expression
Then we obtain the total number of decompositions of into summands with no restrictions. However in Equation (2), we assume that , so we use the principle of inclusion–exclusion. Let . We consider the following cases:
- . By previous considerations, the number of all non-negative solutions is
- . Then there is at least one such that . Without loss of generality, let and , where . Putting this into Equation (2), we getThen, using the expression (3), the number of solutions to this equation isSince the summand can be chosen in ways, the total number of such cases isThen it suffices to subtract from (3) the expression (4), i.e., to remove cases where one summands is greater than .
- . Then there are at least two summands, . Suppose that and and . Analogously, as in the previous case, we have the equationand the number of solutions to this equation isThere are ways to choose two summands out of that can be greater than . Thus, the total number of such cases isWe add this back to (4), as these cases were removed twice in the step. Then we consider cases for , 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 . Let . Writing these summands as , the equation becomes
Taking the sum over all possible values , we get the final formula of the form
by the graph interpretation, which ends the proof. □
From the graph interpretation of the number and Theorem 5 summing over all possible , we immediately obtain the binomial formula for k-distance Padovan numbers .
Theorem 8.
Let and be integers. Then
Consider an example and . Then, by Theorem 8, we obtain that
This means that a graph has exactly three maximal independent sets including the set of leaves.
Since , putting , we obtain a new binomial formula for Padovan numbers in the classical sense.
Corollary 1.
Let be an integer. Then
3. -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 by the following recurrence relation: for with initial conditions , see for details [31]. Some properties of Fibonacci polynomials can be found in [18,32,33]. Clearly, . 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 of a graph as the total number of independent sets in the composition of two graphs. They proved that
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 , , and be a sequence of vertex disjoint graphs on , . By the G-join of a graph G and the sequence we mean the graph such that and . If for all , 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 .
For an integer and a variable , the k-distance Fibonacci polynomial of a graph G of order n, , is defined by , where is a sequence of arbitrary vertex disjoint graphs such that .
Theorem 9
([34]). Let , , be integers. Then
Let . The projection of S onto the graph G is defined by For each , the projection of S onto the graph is defined as 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 . Then
The characterization of independent sets and maximal independent sets in G-join were given in [15,35].
Theorem 11
([15]). A subset is independent of if and only if the projection is independent in G and the set is independent in for all .
Theorem 12
([35]). A subset is a maximal independent of if and only if the projection is maximal independent in G and the set is a maximal independent set of for all .
Theorem 13
([15]). Let be an integer. A subset is a maximal k-independent set of if and only if the projection is a maximal k-independent set in G and the set has exactly one vertex for all .
Let be an integer. Let G be a connected graph of order n, , with . Every connected graph with and has a maximal independent set including the set of leaves. If and , then every graph has not always had a k-independent set, including the set of leaves. By simple observation, we deduce that for a graph G has a k-independent set including the set if and only if includes exactly one vertex or for each ,
For future investigations suppose that G is a connected graph such that and G has a maximal k-independent set, .
Let be the number of all t-element maximal k-independent sets including in an n-vertex graph G. Let be the number of all maximal k-independent sets including in G. Clearly, for every n-vertex graph, G holds such that . Let be a maximal k-independent set of such that the projection is a maximal k-independent set including . We denote the number of all such sets by .
For arbitrary integers and the k-distance Padovan polynomial in a variable x of a graph G of order n, , is defined by , where for the sequence is an arbitrary sequence of vertex disjoint graphs with , , and for the sequence , where is the i-th copy of a complete graph , .
Theorem 14.
Let , , be integers. Then for every graph G such that that has a maximal k-independent set including the k-distance Padovan polynomial has the form
Proof.
Let G be a graph satisfying the assumptions of the theorem. We consider the following cases:
- . In this case, the sequence consists of n copies of the complete graph , denoted as for . Let be a t-element maximal independent set in , such that the projection is a maximal independent set including in G. To obtain a set using Theorem 12 we know that firstly we have to choose a t-element maximal independent set including in a graph G and then choose exactly one vertex in each copy . Because we can do it into x ways, we have possibilities for an independent set in , such that the projection on G is a maximal independent set including the set of leaves in G. So, .
- . In this case, the sequence consists of n arbitrary graphs of order . Let be a maximal k-independent set in such that the projection is a maximal k-independent set including in G. Using Theorem 10 we know that at most one vertex from each graph , , can belong to . 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 and be integers. Then
Now we provide the recurrence formula for which defines the k-distance Padovan polynomials.
Theorem 15.
Let , , be integers. Then
for with the initial conditions
Proof.
For , the result immediately follows from the definition of . Suppose that the theorem is valid for a graph , where . Let us assume that , , with the numbering of vertices in the natural fashion. Clearly . Let S be a maximal k-independent set of including . We consider the following cases:
- . Because , . Then either or and . Then, by the definition of and the induction hypothesis, the equality follows .
- . Because , . Based on the definition of and the induction hypothesis, we get possibilities. Then 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
with the initial conditions
Table 2.
k-distance Padovan polynomials for .
In particular, for , we have . Consequently, by previous considerations, we immediately obtain the direct formula for .
Corollary 3.
Let and be integers. Then
We determine the generating function for the sequence which is defined recursively for as
with the initial conditions
Because for , , and for , , we get
For , the recurrence is given by
thus
Summing over j, we have
and we get
Finally
The generating function for the sequence is
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 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 .
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
- 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]
- Padovan, R. Dom Hans Van Der Laan: Modern Primitive; Architectura Natura Press: Amsterdam, The Netherlands, 1994. [Google Scholar]
- 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]
- Garcia Lomeli, A.C.; Hernandez, S.H. Powers of two as sums of two Padovan numbers. Integers 2018, 18, A84. [Google Scholar]
- 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]
- 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]
- 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]
- 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).
- 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]
- Kucharska, M. On (k, l)-kernel perfectness of special classes of digraphs. Discuss. Math. Graph Theory 2005, 25, 103–119. [Google Scholar]
- Skupień, Z. Sums of powered characteristic roots count distance-independent circular sets. Discuss. Math. Graph Theory 2013, 33, 217–229. [Google Scholar] [CrossRef] [Scilit]
- 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]
- 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]
- Włoch, A.; Włoch, I. On (k, l)-kernels in generalized products. Discret. Math. 1997, 164, 295–301. [Google Scholar]
- 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]
- 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]
- Prodinger, H.; Tichy, R.F. Fibonacci numbers of graphs. Fibonacci Q. 1982, 20, 16–21. [Google Scholar] [CrossRef] [Scilit]
- 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]
- 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]
- Hopkins, G.; Staton, W. Some identities arising from the Fibonacci numbers of certain graphs. Fibonacci Q. 1984, 22, 255–258. [Google Scholar] [CrossRef] [Scilit]
- Bednarz, U.; Wołowiec-Musiał, M. Distance Fibonacci Polynomials. Symmetry 2020, 12, 1540. [Google Scholar] [CrossRef] [Scilit]
- Bednarz, U.; Wołowiec-Musiał, M. Distance Fibonacci Polynomials-Part II. Symmetry 2021, 13, 1723. [Google Scholar] [CrossRef] [Scilit]
- 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]
- Wilf, H. The numbers of maximal independent sets in a tree. SIAM J. Alg. Discret. Methods. 1986, 7, 125–130. [Google Scholar] [CrossRef] [Scilit]
- 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]
- 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]
- 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]
- Raczek, J. Polynomial Algorithm for Minimal (1, 2)-Dominating Set in Networks. Electronics 2022, 11, 300. [Google Scholar] [CrossRef] [Scilit]
- Pirga, M.; Włoch, A.; Włoch, I. Some new graph interpretations of Padovan numbers. Symmetry 2024, 16, 1493. [Google Scholar] [CrossRef] [Scilit]
- Ross, K.A.; Wright, C.R.B. Discrete Mathematics, 3rd ed.; Prentice-Hall, Inc.: Englewood Cliffs, NJ, USA, 1992. [Google Scholar]
- Koshy, T. Fibonacci and Lucas Numbers with Applications; John Wiley and Sons: New York, NY, USA, 2001. [Google Scholar]
- Kilic, E. The Binet formula, sums and representations of generalized Fibonacci p-numbers. Eur. J. Comb. 2008, 29, 701–711. [Google Scholar] [CrossRef] [Scilit]
- Trojovsky, P. On the characteristic polynomial of (k, p)-Fibonacci sequence. Adv. Differ. Equ. 2021, 2021, 28. [Google Scholar] [CrossRef] [Scilit]
- Włoch, I. Generalized Fibonacci polynomial of graph. Ars. Comb. 2003, 68, 49–55. [Google Scholar]
- Topp, J. Domination, independence and irredundance in graphs. In Dissertationes Mathematicae; Instytut Matematyczny PAN: Warszawa, Poland, 1995. [Google Scholar]
- 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. |
© 2026 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.
