You are currently viewing a new version of our website. To view the old version click .
Symmetry
  • Article
  • Open Access

22 November 2025

Generalized Padovan Numbers

and
The Faculty of Mathematics and Applied Physics, Rzeszów University of Technology, Al. Powstańców Warszawy 12, 35-959 Rzeszów, Poland
*
Author to whom correspondence should be addressed.
Symmetry2025, 17(12), 2019;https://doi.org/10.3390/sym17122019 
(registering DOI)
This article belongs to the Section Mathematics

Abstract

In this paper, we study a generalization of Padovan numbers. We define a generating function and matrix generators for the generalized Padovan sequence. Moreover, using graph methods and a special family of generalized Padovan sequences, we derive a multinomial formula for generalized Padovan numbers. We also prove some identities that generalize known formulae for the classical Padovan numbers.

1. Introduction

The Fibonacci sequence { F n } , given by the formula F n = F n 1 + F n 2 for n 2 with initial conditions F 0 = F 1 = 1 , is one of the most celebrated sequences defined recursively. Its terms, known as Fibonacci numbers, occur in nature, art, architecture, and many branches of modern science. The ratio of consecutive Fibonacci numbers tends to the golden number ϕ = 1 + 5 2 1.618 , which is sometimes considered the source of all beauty, harmony, and symmetry in the world. In the shadow of the Fibonacci sequence lies the Padovan sequence, a relatively young sequence exhibiting similarly surprising and interesting properties to its golden cousin.
The Padovan sequence { P v ( n ) } , named after the contemporary architect Richard Padovan, is defined by the third-order linear recurrence relation
P v ( n ) = P v ( n 2 ) + P v ( n 3 ) , for n 3 and P v ( 0 ) = P v ( 1 ) = P v ( 2 ) = 1 .
Formula (1) generates the sequence 1, 1, 1, 2, 2, 3, 4, 5, 7, 9, 14, 16, …whose terms are called Padovan numbers, and the ratio of consecutive Padovan numbers tends to a constant p 1.3247 , known as the plastic number. The plastic number was discovered in 1924 by a French student of architecture, G. Cordonnier, and independently in 1928 by a Dutch architect, D. H. van der Laan, as an analog of the golden number in three-dimensional space. In 1994 R. Padovan, in his essay devoted to van der Laan and his architectonic ideas (see []), presented the virtues of the plastic number as a design tool that constraints the growth rate of the recursion (1) and its applications, not only in architecture but also in other fields. Many similarities between the Fibonacci and the Padovan sequences were discussed by I. Steward in [], while B.M.M. Weger in [] pointed out some crucial differences between them. Some properties and identities for the classical Padovan numbers were described in [,,]; for others we refer readers to The Online Encyclopedia of Integer Sequences A000931 []. Modern applications of the Padovan sequence include graph theory [,], computer science [], and cryptography [].
Analogously to the Fibonacci sequence, the Padovan sequence has been generalized in various directions. Some of these generalizations arise from combinatorial interpretations. In [] a generalization of the Padovan sequence was introduced as a consequence of counting special subsets of the set of n integers, while in [] the Padovan sequence was generalized via tiling and in [] via decompositions of a number n. A natural way to generalize the recursion (1) is to replace the sum of two terms used to obtain Padovan numbers with a sum involving a larger number of terms. V. Iliopoulos in [] investigated the recurrence relation of the form P v ( n ) = P v ( n 2 ) + P v ( n 3 ) + P v ( n k ) for k 3 and n k , with initial conditions P v ( 0 ) = P v ( 1 ) = = P v ( k 1 ) = 1 . The same recursion, but with different initial conditions, was considered by J. J. Bravo and J. L. Herrera in []. The main focus of the authors in [,] was the characteristic polynomial associated with the generalized Padovan sequence and the roots of that polynomial, and interesting results were obtained by combining combinatorics with analytic methods. In this paper, we propose a generalization of Padovan numbers based on a similar idea, but we combine combinatorial properties with matrix theory and graph theory.
Let k 2 be an integer. We define generalized Padovan numbers P v ( k , n ) by the following recurrence relation:
P v ( k , n ) = P v ( k , n k ) + + P v ( k , n ( 2 k 1 ) ) , for n 2 k 1
with initial conditions P v ( k , n ) = P v ( k , 0 ) = 1 , P v ( k , 1 ) = = P v ( k , k 1 ) = 0 , P v ( k , k ) = = P v ( k , 2 k 2 ) = 1 .
In Table 1 we present P v ( k , n ) numbers for some fixed n and k.
Table 1. Generalized Padovan numbers P v ( k , n ) .
We can observe that for k = 2 we get the shifted Padovan sequence, i.e., P v ( 2 , n ) = P v ( n 2 ) . For k = 3 we obtain the sequence denoted in [] by A017818, connected with a combinatorial model of a settlement along a coastline known as the Riviera model.
Numbers P v ( k , n ) can be extended for negative integers. If k 2 is an integer and
P v ( k , n ) = 1   if   n = 0 , k , k + 1 , , 2 k 2 , 0   if   n = 1 , 2 , , k 1 ,
then
P v ( k , n ) = P v ( k , n + ( 2 k 1 ) ) P v ( k , n + 1 ) , for n > 0 .
In Table 2 we present P v ( k , n ) numbers for some negative n.
Table 2. Generalized Padovan numbers P v ( k , n ) .
In this paper, we establish several properties of the generalized Padovan sequence defined by the recursion (2). We define its matrix generators as a product of a generalized Q-matrix and a symmetric matrix of initial conditions. We also show how digraphs can be used to obtain direct formulae for generalized Padovan numbers.

2. Generating Function and Some Identities

A linear recurrence equation with constant coefficients is typically used in conjunction with a generating function, which is an elegant tool for studying it and establishing a connection between number sequences and algebraic expressions.
For the sequence { P v ( k , n ) } the generating function can be determined using the definition of a generating function and the generalized Padovan recurrence relation.
Theorem 1. 
If n 0 , k 2 are integers, then the generating function of { P v ( k , n ) } has the following form:
f ( x ) = 1 x 2 k 1 + + x k 1 .
Proof. 
Let f ( x ) = n = 0 P v ( k , n ) x n . Using the recurrence relation (2), we get
f ( x ) = P v ( k , 0 ) + n = 1 k 1 P v ( k , n ) x n + n = k 2 k 2 P v ( k , n ) x n + n = 2 k 1 P v ( k , n ) x n
= 1 + n = k 2 k 2 x n + n = 2 k 1 [ P v ( k , n k ) + + P v ( k , n ( 2 k 1 ) ) ] x n
= 1 + n = k 2 k 2 x n + n = 2 k 1 P v ( k , n k ) x n + + n = 2 k 1 P v ( k , n ( 2 k 1 ) ) x n
= 1 + n = k 2 k 2 x n + n = k 1 P v ( k , n ) x n + k + + n = 0 P v ( k , n ) x n + 2 k 1
= 1 + n = k 2 k 2 x n + x k n = k 1 P v ( k , n ) x n + + x 2 k 1 n = 0 P v ( k , n ) x n
= 1 + n = k 2 k 2 x n + x k n = 0 P v ( k , n ) x n 1 + + x 2 k 1 n = 0 P v ( k , n ) x n
= 1 + x k n = 0 P v ( k , n ) x n + + x 2 k 1 n = 0 P v ( k , n ) x n .
Thus,
f ( x ) x k f ( x ) x 2 k 1 f ( x ) = 1 ,
and hence
f ( x ) = 1 x 2 k 1 + + x k 1 ,
which completes the proof. □
Some identities related to the generalized Padovan sequence are shown below.
Theorem 2. 
For integers n 2 k and k 2 ,
P v ( k , n ) P v ( k , n 1 ) = P v ( k , n k ) P v ( k , n 2 k ) .
Proof. 
Let n 2 k , k 2 . Using the definition of the generalized Padovan sequence, we have
P v ( k , n ) = P v ( k , n k ) + P v ( k , n k 1 ) + + P v ( k , n ( 2 k 1 ) ) = P v ( k , n 2 k ) + P v ( k , n 2 k 1 ) + + P v ( k , n ( 3 k 1 ) ) + P v ( k , n k 1 ) + + P v ( k , n ( 2 k 1 ) ) = P v ( k , n 1 ) + P v ( k , n 2 k 1 ) + + P v ( k , n ( 3 k 1 ) ) + P v ( k , n 2 k ) P v ( k , n 2 k ) = P v ( k , n 1 ) + P v ( k , n k ) P v ( k , n 2 k ) .
Thus, the proof is complete. □
Theorem 3. 
If n 0 , k 2 are integers, then
i = 0 n P v ( k , i ) = 1 k 1 P v ( n + 3 k 1 ) j = 1 k 2 ( k 1 j ) P v ( k , n + j ) 1 .
Proof. 
(By induction on n). If n = 0 , then the theorem immediately follows, because by the recursion (2) we have
i = 0 n + 1 P v ( k , i ) = 1 k 1 P v ( n + 3 k 1 ) j = 1 k 2 ( k 1 j ) P v ( k , n + j ) 1 + P v ( k , n + 1 ) =
1 k 1 P v ( n + 3 k 1 ) j = 1 k 2 ( k 1 j ) P v ( k , n + j ) 1 + ( k 1 ) P v ( k , n + 1 )
Since j = 1 k 2 ( k 1 j ) P v ( k , n + j ) = ( k 2 ) P v ( k , n + 1 ) + j = 2 k 2 ( k 1 j ) P v ( k , n + j ) , we get
i = 0 n + 1 P v ( k , i ) = 1 k 1 P v ( n + 3 k 1 ) + P v ( k , n + 1 ) j = 2 k 2 ( k 1 j ) P v ( k , n + j ) 1 =
1 k 1 ( P v ( n + 2 k 1 ) + P v ( k , n + 2 k 2 ) + + P v ( k , n + k + 1 ) + P v ( k , n + k ) +
P v ( k , n + 2 k ) P v ( k , n + k ) P v ( k , n + 2 ) j = 2 k 2 ( k 1 j ) P v ( k , n + j ) 1 ) =
= 1 k 1 P v ( k , n + 3 k ) j = 1 k 2 ( k 1 j ) P v ( k , n + 1 + j ) 1 ,
which ends the proof. □
From the above theorem we obtain the following identities for special cases k { 2 , 3 , 4 , 5 } .
i = 0 n P v ( 2 , i ) = P v ( 2 , n + 5 ) 1 .
i = 0 n P v ( 3 , i ) = 1 2 ( P v ( 3 , n + 8 ) P v ( 3 , n + 1 ) 1 ) .
i = 0 n P v ( 4 , i ) = 1 3 ( P v ( 4 , n + 11 ) 2 P v ( 4 , n + 1 ) P v ( 4 , n + 2 ) 1 ) .
i = 0 n P v ( 5 , i ) = 1 4 ( P v ( 5 , n + 14 ) 3 P v ( 5 , n + 1 ) 2 P v ( 5 , n + 2 ) P v ( 3 , n + 3 ) 1 ) .
In particular, if k = 2 then we obtain the well-known identity for Padovan numbers.
Proving analogously to Theorem 3, we can also obtain the following identity.
Theorem 4. 
Let n 0 , k 2 be integers.
i = 0 n P v ( k , i ) = 1 k 1 P v ( k , n + 2 k + 1 ) + j = 0 k 3 ( k 2 j ) P v ( k , n j ) 1 .
If k { 3 , 4 , 5 } , then we obtain the identities of the form
i = 0 n P v ( 3 , i ) = 1 2 ( P v ( 3 , n + 7 ) + P v ( 3 , n ) 1 ) ,
i = 0 n P v ( 4 , i ) = 1 3 ( P v ( 4 , n + 9 ) + 2 P v ( 4 , n ) + P v ( 4 , n 1 ) 1 ) ,
i = 0 n P v ( 5 , i ) = 1 4 ( P v ( 5 , n + 11 ) + 3 P v ( 5 , n ) + 2 P v ( 5 , n 1 ) + P v ( 5 , n 2 ) 1 ) .

3. Matrix Generators, Graph Interpretation, and Multinomial Formula

There is a long tradition of applying matrices, determinants, and permanents to study sequences of the Fibonacci type; see, for example, [,,,]. The concept of the Q-matrix as a matrix generator of the Fibonacci sequence was introduced by Ch. King in his master’s thesis, and since then the Q-matrix method has become an important tool in the analysis of Fibonacci properties; for historical details, see []. The Q-matrices for the classical Padovan sequence have also been examined in the literature; see, for instance, [,,]. In this section, we define matrix generators for generalized Padovan sequences { P v ( k , n ) } .
Based on the recursion (2), let us define a square matrix Q k = [ q i , j ] m × m , where k 2 and m = 2 k 1 as follows. For i = 1 , 2 , m , and j = 1 , an element q i , j of the matrix Q k is equal to the coefficient of P v ( k , n ) on the right-hand side of Equation (2). For i = 1 , 2 m and 2 j m , we put
q i , j = 1 i f   j = i + 1 , 0 otherwise .
For k 2 the above definition gives matrices of the form
Q 2 = 0 1 0 1 0 1 1 0 0 , Q 3 = 0 1 0 0 0 0 0 1 0 0 1 0 0 1 0 1 0 0 0 1 1 0 0 0 0 , Q 4 = 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 ,
Q 5 = 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 , Q k = 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0 0 .
Using a cofactor expansion across the last row of the matrix Q k , we immediately obtain the following result.
Theorem 5. 
Let k 2 be an integer. Then d e t Q k = 1 .
For the classical Fibonacci sequence, as well as for the classical Padovan sequence, the powers of the Q-matrix generate the terms of the sequence directly. In the case of generalized Fibonacci-type sequences, to be able to generate the terms of such a sequence, we usually need an additional matrix called the matrix of initial conditions. For the sequence { P v ( k , n ) } , we define a square matrix P k of size 2 k 1 as the matrix of initial conditions as follows.
P k = P v ( k , 4 k 4 ) P v ( k , 4 k 5 ) P v ( k , 2 k 1 ) P v ( k , 2 k 2 ) P v ( k , 4 k 5 ) P v ( k , 4 k 6 ) P v ( k , 2 k 1 ) P v ( k , 2 k 3 ) P v ( k , 2 k 1 ) P v ( k , 2 k 2 ) P v ( k , 2 ) P v ( k , 1 ) P v ( k , 2 k 2 ) P v ( k , 2 k 3 ) P v ( k , 1 ) P v ( k , 0 ) .
For k = 2 , 3 , 4 by the above definition we obtain the following symmetric matrices.
P 2 = 1 1 1 1 1 0 1 0 1 , P 3 = 3 2 1 1 1 2 1 1 1 1 1 1 1 1 0 1 1 1 0 0 1 1 0 0 1 , P 4 = 4 4 3 2 1 1 1 4 3 2 1 1 1 1 3 2 1 1 1 1 1 2 1 1 1 1 1 0 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 1 1 0 0 0 1 .
Theorem 6. 
Let k 2 , n 1 be integers. Then
P k Q k n = P v ( k , n + 4 k 4 ) P v ( k , n + 4 k 5 ) P v ( k , n + 2 k 1 ) P v ( k , n + 2 k 2 ) P v ( k , n + 4 k 5 ) P v ( k , n + 4 k 6 ) P v ( k , n + 2 k 1 ) P v ( k , n + 2 k 3 ) P v ( k , n + 2 k ) P v ( k , n + 2 k 1 ) P v ( k , n + 2 ) P v ( k , n + 1 ) P v ( k , n + 2 k 2 ) P v ( k , n + 2 k 3 ) P v ( k , n + 1 ) P v ( k , n + 0 ) .
Proof. 
(By induction on n). If n = 1 , then by (2) and simple calculations the result immediately follows. Assume that the formula (4) holds for n; we will prove it for n + 1 . Since P k Q k n + 1 = ( P k Q k n ) Q k , by our assumption and by the recurrence (2) we obtain P k Q k n + 1 =
P v ( k , n + 4 k 4 ) P v ( k , n + 4 k 5 ) P v ( k , n + 2 k 2 ) P v ( k , n + 4 k 5 ) P v ( k , n + 4 k 6 ) P v ( k , n + 2 k 3 ) P v ( k , n + 2 k 1 ) P v ( k , n + 2 k 1 ) P v ( k , n + 1 ) P v ( k , n + 2 k 2 ) P v ( k , n + 2 k 2 ) P v ( k , n + 0 ) 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0 0 .
By matrix multiplication and Equation (2), it follows that
P k Q k n + 1 = P v ( k , n + 4 k 3 ) P v ( k , n + 4 k 4 ) P v ( k , n + 2 k ) P v ( k , n + 2 k 1 ) P v ( k , n + 4 k 4 ) P v ( k , n + 4 k 5 ) P v ( k , n + 2 k 1 ) P v ( k , n + 2 k 2 ) P v ( k , n + 2 k ) P v ( k , n + 2 k 1 ) P v ( k , n + 3 ) P v ( k , n + 2 ) P v ( k , n + 2 k 1 ) P v ( k , n + 2 k 2 ) P v ( k , n + 2 ) P v ( k , n + 1 ) ,
which ends the proof. □
We use the matrix Q k to determine the explicit formula for P v ( k , n ) . In [] M. C. Er introduced a family of k sequences { { g n i } , i { 1 , , k } } of generalized Fibonacci numbers in the following way.
Let k 2 and c 1 , , c k be integers. Then for each i { 1 , , k } , a sequence { g n i } consists of generalized Fibonacci numbers g n i defined as
g n i = j = 1 k c j g n j i for n > 0
with initial conditions g n i = 1 if i = 1 n , 0 otherwise , for 1 k n 0 .
If k = 2 and c 1 = c 2 = 1 , then g n 1 1 = g n 2 = F n , where F n is nth Fibonacci number.
Based on an approach taken by D. Kalman [], M. C. Er used a square matrix A of size k of the form
A = c 1 c 2 c k 1 0 0 0 0 1 0
and next showed that elements of sequences { g n i } can be generated by A n , namely
A n = g n 1 g n 2 g n k g n 1 1 g n 1 2 g n 1 k g n k + 1 1 g n k + 1 2 g n k + 1 k .
In [] a special case of generalized Fibonacci numbers related to elements of sequences { g n i } was considered. For an integer k 2 and non-negative integers c 1 , , c k such that at least two of c j are positive, the following recursion was defined:
f n = c 1 f 1 + + c k f n k for n > 0
with non-negative integers f 1 k , , f 1 , f 0 and f j > 0 for some j { 1 k , , 0 } as initial values.
Let us observe that for special values of c 1 , c 2 , c 3 and f j , j { 1 k , , 0 } , we obtain definitions of well-known sequences of the Fibonacci type.
In Table 3 we present the well-known recurrence relations, which follow from (7).
Table 3. Special cases of sequences { f n } .
In [] the relation between numbers f n and elements of sequences { g n i } was proved.
Theorem 7 
([]). If k 2 and n 1 k are integers, then f n = i = 1 k f 1 i g n i .
Let us now consider a family F k = { { P v ( k , n , i ) } , i { 1 , , 2 k 1 } } , k 2 of sequences defined by the recurrence relation (2),
P v ( k , n , i ) = P v ( k , n k , i ) + + P v ( k , n ( 2 k 1 ) , i ) , for n > 2 k 1
with initial conditions P v ( k , n , i ) = 1 if   n = i   or   ( n = 0   and   i = k ) , 0 otherwise , for 0 n 2 k 1 .
For clarity, if k = 3 , then i { 1 , 2 , 3 , 4 , 5 } , so the family F 3 includes five sequences. From the recurrence (8) we obtain that F 3 = { { P v ( 3 , n , 1 ) } , { P v ( 3 , n , 2 ) } , , { P v ( 3 , n , 5 ) } } .
Table 4 presents some initial words of sequences { P v ( 3 , n , i ) } for i { 1 , 2 , 3 , 4 , 5 } and a few initial terms of the sequence { P v ( 3 , n ) } .
Table 4. Sequences { P v ( 3 , n , i ) } for i { 1 , 2 , 3 , 4 , 5 } .
We can observe that P v ( 3 , n ) = P v ( 3 , n + 6 , 1 ) = P v ( 3 , n + i , i ) for i { 3 , 4 , 5 } . Moreover, the sequence { P v ( 3 , n ) } is a sum of sequences { P v ( 3 , n , i ) } for indices i { 3 , 4 , 5 } . The same relations hold for the sequence { P v ( k , n ) } with an arbitrary k 2 and corresponding sequences { P v ( k , n , i ) } , where i { k , , 2 k 1 } .
By definitions of numbers P v ( k , n ) and P v ( n , k , i ) , the following immediately follows.
Theorem 8. 
If k 2 and n 0 are integers, then
(i) 
P v ( k , n ) = P v ( k , n + 2 k , 1 ) ;
(ii) 
P v ( k , n ) = P v ( k , n + i , i ) for i { k , , 2 k 1 } .
We prove that P v ( k , n ) is a sum of elements of sequences { P v ( k , n , i ) } for i { k , , 2 k 1 } .
Theorem 9. 
Let k 2 and n 0 be integers. Then
P v ( k , n ) = i = k 2 k 1 P v ( k , n , i ) .
Proof. 
(By induction on n). If 0 n < k , then
i = k 2 k 1 P v ( k , n , i ) = P v ( k , n , k ) = P v ( k , n ) .
If k n 2 k 1 , then
i = k 2 k 1 P v ( k , n , i ) = P v ( k , n , k ) + P v ( k , n , k + 1 ) + + P v ( k , n , 2 k 1 ) = P v ( k , n , n ) = P v ( k , n ) .
Assume that n 0 and P v ( k , n ) = i = k 2 k 1 P v ( k , n , i ) . We shall show that
i = k 2 k 1 P v ( k , n + 1 , i ) = P v ( k , n + 1 ) .
i = k 2 k 1 P v ( k , n , i ) = P v ( k , n k , k ) + P v ( k , n k 1 , k ) + + P v ( k , n ( 2 k 1 ) , k ) = P v ( k , n k , k + 1 ) + P v ( k , n k 1 , k + 1 ) + + P v ( k , n ( 2 k 1 ) , k + 1 ) = P v ( k , n k , 2 k 1 ) + P v ( k , n k 1 , 2 k 1 ) + + P v ( k , n ( 2 k 1 ) , 2 k 1 ) = i = k 2 k 1 P v ( k , n k , i ) + i = k 2 k 1 P v ( k , n k 1 , i ) + + i = k 2 k 1 P v ( k , n ( 2 k 1 ) , i ) = P v ( k , n k + 1 ) + P v ( k , n k 1 + 1 ) + + P v ( k , n ( 2 k 1 ) + 1 ) = P v ( k , n + 1 ) .
So the proof is complete. □
Terms of sequences { P v ( k , n , i ) } for i { 1 , , k 1 } can be used to derive a multinomial formula for P v ( k , n ) .
Let A be a square matrix of size 2 k 1 associated with recurrence (8) as follows:
A = 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 .
It can be easily verified that the nth power, n 1 , of the matrix A has the form
A n = P v ( k , n + 2 k 1 , 2 k 1 ) P v ( k , n + 2 k 1 , 2 ) P v ( k , n + 2 k 1 , 1 ) P v ( k , n + 2 k 2 , 2 k 1 ) P v ( k , n + 2 k 2 , 2 ) P v ( k , n + 2 k 2 , 1 ) P v ( k , n + 1 , 2 k 1 ) P v ( k , n + 1 , 2 ) P v ( k , n + 1 , 1 ) .
Note that A = ( Q k ) T , and therefore
A n = ( Q k n ) T .
The matrix Q k can be considered as the adjacency matrix of a special directed graph D k with the set of vertices V ( D k ) = { v 1 , , v 2 k 1 } . Moreover, there is an arc v i v j E ( D k ) if q i j = 1 . The directed graph D k is presented in Figure 1.
Figure 1. Digraph D k .
From a well-known fact in graph theory, it follows that the entry q i j of the matrix Q k n is equal to the number of all distinct paths of length n between the vertices v i and v j . Therefore, by (8) and the equality (11), we obtain that P v ( k , n , i ) is the total number of distinct paths of length n from v i to v 1 .
To give a multinomial formula for P v ( k , n ) numbers, it is sufficient to consider a single sequence from the family F k . Before obtaining such a formula, recall that if n is a non-negative integer, and k 1 , , k m are integers satisfying k 1 + + k m = n , then multinomial coefficients are defined as follows:
n k 1 , , k m = n ! k 1 ! k m ! if   each k i 0 , 0 otherwise .
Theorem 10. 
If k 2 , n 1 , 1 i 2 k 1 are integers, then
P v ( k , n + 2 k 1 , 2 k 1 ) = α k , , α 2 k 1 k α k + + ( 2 k 1 ) α 2 k 1 = n α k + + α 2 k 1 α k , , α 2 k 1 .
Proof. 
Let D k be a digraph shown in Figure 1. From the graph interpretation of the number P v ( k , n , i ) , it follows that, in order to prove the multinomial Formula (12), we must count all paths of length n between vertices v 1 and v 1 . Each such path consists of elementary cycles arranged in an arbitrary order. The cycles have the form C i = v 1 v 2 v i v 1 and have lengths i, i { k , , 2 k 1 } . Suppose that the path contains the cycle C i exactly α i -times. Clearly, α i 0 , i { k , , 2 k 1 } . Each such path then corresponds to an ordering, with repetitions allowed, of cycles from the set { C k , . . . , C 2 k 1 } in an arbitrary order. Then the length of this path is k α k + + ( 2 k 1 ) α 2 k 1 = n . The cycle C i , k i 2 k 1 , can be placed in the path in
α k + + α 2 k 1 α i
ways. Hence, there are
α k + + α 2 k 1 α k α k + 1 + + α 2 k 1 α k + 1 α 2 k 1 α 2 k 1 = α k + + α 2 k 1 α k , , α 2 k 1
such paths in the digraph D k . Summing over all collections α k , , α 2 k 1 satisfying the equation k α k + + ( 2 k 1 ) α 2 k 1 = n , we obtain the total number of such paths, which is equal to
α k , , α 2 k 1 k α k + + ( 2 k 1 ) α 2 k 1 = n α k + + α 2 k 1 α k , , α 2 k 1 ,
and this completes the proof. □
Based on Theorem 8 and using Equation (12), we immediately obtain a most convenient expression.
Corollary 1. 
For integers k 2 and n 1 ,
P v ( k , n ) = α k , , α 2 k 1 k α k + + ( 2 k 1 ) α 2 k 1 = n α k + + α 2 k 1 α k , , α 2 k 1 .
An equivalent form is
P v ( k , n ) = α k , , α 2 k 1 k α k + + ( 2 k 1 ) α 2 k 1 = n ( α k + + α 2 k 1 ) ! α k ! α 2 k 1 ! .
To illustrate Corollary 1, let us compute P v ( 3 , 15 ) . Using (13), we obtain
P v ( 3 , 15 ) = α 3 , α 4 , α 5 3 α 3 + 4 α 4 + 5 α 5 = 15 α 3 + α 4 + α 5 α 3 , α 4 , α 5 .
The triples satisfying the equation 3 α 3 + 4 α 4 + 5 α 5 = 15 are ( 5 , 0 , 0 ) , ( 2 , 1 , 1 ) , ( 1 , 3 , 0 ) , ( 0 , 0 , 3 ) . Therefore,
P v ( 3 , 15 ) = 5 + 0 + 0 5 , 0 , 0 + 2 + 1 + 1 2 , 1 , 1 1 + 3 + 0 1 , 3 , 0 + 0 + 0 + 3 0 , 0 , 3 = 1 + 12 + 4 + 1 = 18 .

4. Conclusions

In this paper, we introduced generalized Padovan numbers and established several of their properties. Futhermore, we showed that the Q-matrix associated with the generalized Padovan recursion can be viewed not only as a matrix generator but also as the adjacency matrix of a particular digraph, yielding interesting results that arise from combining matrix theory, combinatorics, and graph theory. As a direction for further research, it would be worthwhile to consider the characteristic polynomial associated with the generalization of the Padovan sequence defined here, as well as the roots of the polynomial, following approaches similar to those in [,]. It also seems interesting to find a connection between generalized Padovan numbers and Pascal’s triangle and to extend the notion of generalized Padovan numbers to polynomials. Applications of matrix generators of Fibonacci-type sequences in coding theory, initiated by work of A.P. Stakhov [] and subsequently developed by other authors, have opened a new area of investigations. We hope that the matrix generators we have defined in this paper for generalized Padovan numbers will likewise find applications in cryptography, where such matrices are used in encoding and decoding algorithms.

Author Contributions

The authors contributed equally to this work. Conceptualization, M.W.-M. and A.W.; methodology, M.W.-M. and A.W.; validation, M.W.-M. and A.W.; formal analysis, M.W.-M. and A.W.; writing—original draft preparation, M.W.-M. and A.W.; writing—review and editing, M.W.-M. and A.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Padovan, R. Dom Hans van der Laan: Modern Primitive; Architectura and Natura Press: Amsterdam, The Netherlands, 1994; pp. 1–260. [Google Scholar]
  2. Steward, I. Tales of neglected number. Sci. Am. 1996, 274, 102–103. [Google Scholar] [CrossRef]
  3. Weger, B.M.M. Padua and Pisa are exponentially far apart. Publ. Math. 1997, 41, 631–651. [Google Scholar] [CrossRef]
  4. Tedifor, S.J. Combinatorial identities for the Padovan numbers. Fibonacci Q. 2019, 57, 291–298. [Google Scholar] [CrossRef]
  5. Shannon, A.G.; Anderson, P.G.; Horadam, A.F. Properties of Cordonnier, Perrin and van der Laan numbers. Int. J. Math. Edu. Sci. Technol. 2006, 37, 825–831. [Google Scholar] [CrossRef]
  6. Yilmaz, F.; Bozkurt, D. Some properties of Padovan sequence by matrix method. Ars Comb. 2012, 104, 149–160. [Google Scholar]
  7. Online Encyclopedia of Integer Sequences. Available online: https://oeis.org/ (accessed on 28 October 2025).
  8. Włoch, I.; Włoch, A. On some multinomial sums related to the Fibonacci type numbers. Tatra Mt. Math. Publ. 2020, 7677, 1–10. [Google Scholar] [CrossRef]
  9. Pirga, M.; Włoch, A.; Włoch, I. Some new graph interpretations of Padovan numbers. Symmetry 2024, 16, 1493. [Google Scholar] [CrossRef]
  10. Lee, G.; Kim, J. On the Padovan codes and Padovan cubes. Symmetry 2023, 15, 266. [Google Scholar] [CrossRef]
  11. Sherin, D.A.A.; Maheswari, V.; Balaji, V. Privacy Preserving Message using Padovan Sequence. J. Phys. Conf. Ser. 2021, 1964, 022026. [Google Scholar] [CrossRef]
  12. Włoch, I.; Włoch, A. Generalized Padovan numbers, Perrin numbers and maximal k-independent sets in graphs. Ars Comb. 2011, 99, 359–364. [Google Scholar]
  13. Vieira, R.P.M.; Alves, F.R.V.; Catarino, P.M.M.C. Combinatorial interpretation of numbers in the generalized Padovan sequence. Axioms 2022, 11, 598. [Google Scholar] [CrossRef]
  14. Włoch, A.; Wołowiec-Musiał, M.; Bednarz, U. New type of distance Padovan sequences via decomposition technique. Appl. Sci. 2022, 12, 9163. [Google Scholar] [CrossRef]
  15. Iliopoulos, V. The plastic number and its generalized polynomial. Cogent. Math. 2015, 2, 1023123. [Google Scholar] [CrossRef]
  16. Bravo, J.J.; Herrera, J.L. Generalized Padovan sequences. Commun. Korean Math. Soc. 2022, 37, 977–988. [Google Scholar]
  17. Miles, E.P., Jr. Generalized Fibonacci numbers and associated matrices. Amer. Math. Mon. 1960, 67, 745–752. [Google Scholar] [CrossRef]
  18. Silvester, J.R. Fibonacci properties by matrix methods. Math. Gaz. 1979, 63, 188–191. [Google Scholar] [CrossRef]
  19. Kalman, D. Generalized Fibonacci numbers by matrix methods. Fibonacci Q. 1982, 20, 73–76. [Google Scholar] [CrossRef]
  20. Er, M.C. Sums of Fibonacci numbers by matrix methods. Fibonacci Q. 1984, 22, 204–207. [Google Scholar] [CrossRef]
  21. Gould, H.W. A history of the Fibonacci Q-matrix and higher-dimensional problem. Fibonacci Q. 1981, 19, 250–257. [Google Scholar] [CrossRef]
  22. Sokhuma, K. Padovan Q-matrix and generalized relations. Appl. Math. Sci. 2013, 7, 2777–2780. [Google Scholar] [CrossRef]
  23. Sokhuma, K. Matrices formula for Padovan and Perrin sequences. Appl. Math. Sci. 2013, 7, 7093–7096. [Google Scholar] [CrossRef]
  24. Stakhov, A.P. Fibonacci matrices, a generalization of the “Cassini formula”, and a new coding theory. Chaos Solitons Fractals 2006, 30, 56–66. [Google Scholar] [CrossRef]
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

Article metric data becomes available approximately 24 hours after publication online.