1. Introduction
Many researchers are currently studying the Fibonacci cubes in the field of interconnection topology. The Fibonacci cubes were first introduced by Hsu [
1], and many scholars have since studied them, as shown in [
2,
3,
4,
5,
6,
7,
8]. We will now introduce a new interconnection topology called the Padovan cube.
The Padovan sequence is named after R. Padovan [
9,
10], and the Padovan sequence has been studied by S. Kritsana, A. Shannon [
11,
12,
13], and G. Lee [
14,
15].
The Padovan sequence is the sequence of integers
defined by the initial values
and the recurrence relation
The first few numbers of the Padovan sequence are
Let
be a sequence of positive integers arranged in nondecreasing order. We define
to be
complete if every positive integer
N is the sum of some subsequence of
; that is,
In [
16], we can obtain the following about the completeness of a sequence: If
and all
,
, then the sequence
is complete.
In [
17], the author studied the completeness of a generalized Fibonacci sequence, while we can easily prove that the Padovan sequence is complete, some integers cannot be expressed in only one way by using the Padovan sequence
. For example, for the integer 8 and Padovan numbers 1, 2, 2, 3, 4, 5, and 7, we can obtain 8 = 1 + 7 = 2 + 2 + 4 = 1 + 3 + 4 = 3 + 5. Thus, to achieve uniqueness, we will deal with this problem with the subsequence of the Padovan sequence. We will also use this subsequence to define new Padovan codes and cubes that have never existed before, and then find some of their properties.
We represent an interconnection topology using a graph , where V denotes the set of vertices and E denotes the set of edges, which are the communication links between vertices. The following terminology and notations will be used:
A subgraph of a graph is any graph , such that and , and we write .
We write if the two graphs are isomorphic.
A graph is said to be directly embedded in , as denoted by , if and only if there is a subgraph of , such that .
We write to denote the graph and to denote , and .
If , i.e., if they are disjoint, then we write instead of writing to emphasize that consists of two disjointed subgraphs. Furthermore, for convenience, we write if the graphs are all isomorphic, i.e., for all .
The rest of this paper is organized as follows. In
Section 2, we define the Padovan codes based on a subsequence of the Padovan sequence. In
Section 3, we define the Padovan cubes based on the Padovan codes. In
Section 4, we provide some of the topological properties of the Padovan cubes.
2. The Padovan Codes
In this section, we define the Padovan codes by using a subsequence
of the Padovan sequence
. The odd-Padovan sequence
is the sequence of integers defined by
for all
. The first few numbers of the odd-Padovan sequence are:
The following lemma shows that has a recurrence relation.
Lemma 1. Let be the odd-Padovan sequence. For , , , , and , we have .
Proof. Since
,
, and
, we have
□
In [
18], we can obtain a recurrence relation of
:
. To construct the Padovan codes and the Padovan cubes using the odd-Padovan sequence
, we must first know if the odd-Padovan sequence
is complete.
Lemma 2. The odd-Padovan sequence is complete.
Proof. Since
,
From the completeness of this sequence, we can see that the odd-Padovan sequence is complete. □
From Lemma 2, we know that every positive integer can be represented as the sum of one or more distinct odd-Padovan numbers. We will now use the odd-Padovan sequence to represent any positive integer and introduce Padovan coding from these representations. However, there are several ways that an integer can be represented using the odd-Padovan sequence. For example, the odd-Padovan representation of an integer 13 can be obtained as 13 = 12 + 1 or 13 = 7 + 4 + 2. However, when we later construct the Padovan codes and cubes, we try to use the binary digit 1 in a Padovan code as few times as possible. In other words, when expressing a positive integer as the odd-Padovan representation, it is convenient to reduce the number of terms that have been added, if possible. We must have the following Padovan Coding Algorithm to construct the Padovan codes and cubes.
For example, from Algorithm 1, we must choose only 13 = 12 + 1, not 13 = 7 + 4 + 2, as the odd-Padovan representation of 13. The odd-Padovan representation of a number
N can be obtained by using the following approach. First, we find the greatest odd-Padovan number
that is less than or equal to
N, assign a ‘1’ to the bit that corresponds to
, then proceed recursively for
. The unassigned bits are 0s. For example, the odd-Padovan representation of an integer 13 can be obtained as 13 = 12 + 1 or 13 = 7 + 4 + 2. However, by the Padovan coding algorithm, the greatest odd-Padovan number available to obtain 13 is
; hence,
. In particular, the three numbers
are three consecutive terms of the odd-Padovan sequence. Thus, we have the following lemma.
Algorithm 1 Padovan Coding Algorithm. |
An arbitrary positive integer N is represented in the following way using an odd-Padovan sequence.
- (1)
Select , the largest odd-Padovan number that does not exceed N (i.e., ). - (2)
Select , the largest odd-Padovan number that does not exceed (i.e., ). - (3)
Select , the largest odd-Padovan number that does not exceed (i.e., ). - (4)
Obtain , the odd-Padovan number by repeating the above process (i.e., ). - (5)
The iterative process is stopped, N being (i.e., ).
|
Lemma 3. Every positive integer N can be represented uniquely as the sum of one or more distinct odd-Padovan numbers such that the sum does not include any three consecutive odd-Padovan numbers. That is, if N is any positive integer, then there exists the following unique representation of N:where each is a binary digit and, for , . Proof. From Lemma 2, we know that N can be represented as the sum of one or more distinct odd-Padovan numbers. We can then immediately obtain the uniqueness for the odd-Padovan representation of any integer from the Padovan coding algorithm.
Thus, we will prove that the sum does not include any consecutive three odd-Padovan numbers by induction. For n = 1, 2, 4, 7, 12, since the numbers are odd-Padovan numbers, it is clearly true. For n = 3, 5, 6, 8, 9, 10, 11, we have 3 = 2 + 1, 5 = 4 + 1, 6 = 4 + 2, 8 = 7 + 1, 9 = 7 + 2, 10 = 7 + 2 + 1, and 11 = 7 + 4.
Now, we consider . If n is an odd-Padovan number then we are finished. Otherwise there exists a j such that . By induction, suppose that each has an odd-Padovan representation and consider . Since , k has an odd-Padovan representation. Meanwhile, since and , . Thus, the odd-Padovan representation of k does not contain . As a result, n can be represented as the sum of and the odd-Padovan representation of k.
Therefore, we have for all . □
Now, we define the order n Padovan code by using the odd-Padovan sequence .
Definition 1 (Padovan Codes).Assume that N is an integer and , where . We let denote the order n Padovan code of N, where is either 0 or 1 for and Let denote the set of all order n Padovan codes. From now on, if n is implicit, we simply represent the Padovan code as .
Example 1. Here, we present some Padovan coding sets.
Since and , , where λ denotes the null string.
Since and , .
Since and , .
Since and , .
Since and , Since and , Since and , From Lemma 1, the Padovan coding algorithm, and Lemma 3, we can find that a binary string is an order-n Padovan code of some positive integer N if and only if contains neither 111 nor 1101 as its substring.
Let denote the string obtained by concatenating strings and . Define , where denotes the null string. If S is a set of strings, then . For example, and . Furthermore, for the null string , since , we have .
From Example 1, we know that and . This can be generalized in the following theorem.
Theorem 1. Let denote the set of order-n Padovan codes. For all , we haveand for all . Proof. For a non-negative integer N and the nth odd-Padovan number , . If , then, clearly, .
Suppose that . Then, a Padovan code has binary digits. Thus, without a loss of generality, we may assume that or , where is a Padovan code with binary digits. If , then because has binary digits and is the set of order Padovan codes with binary digits. That is, . Now, we assume that , where is a Padovan code with binary digits. If where is a Padovan code with binary digits, then . Thus, we assume that , i.e., . If , where is a Padovan code with binary digits, then . From Lemma 3, this is impossible. Thus, . Again, if , where is a Padovan code with binary digits, then . From Lemma 1, since , the integer N, which is made of the string of binary digits , satisfies . However, this is impossible. Thus, we have , where ., i.e., . Thus, we have .
Moreover, by induction, we have
□
Let and be two binary numbers. The Hamming distance between I and J, denoted by , is the number of bits where the two binary numbers differ. For example, if and , then .
Corollary 1. Let be the number of codes for which the Hamming distance is 1 when comparing the codes in with those in . Let be the number of codes for which the Hamming distance is 1 when comparing the codes in with those in . Let be the number of codes for which the Hamming distance is 1 when comparing the codes in with those in . Then, we have Proof. From Theorem 1, we know that . For some and , if , then it can only be and for . Since , we have
For some and , if , then it can only be and for . Since , we have .
For some and , if , then it can only be and for . Since , we have . □
3. Padovan Cubes
It is straightforward to define the Padovan cubes based on the Padovan codes.
Definition 2 (Padovan Cubes).Let N denote an integer, where for some n. Let and denote the Padovan codes of i and j, . The Padovan cube of order N is a graph , where and if and only if .
Definition 3 (Padovan Cube of Order).The Padovan cube of order n, denoted by , is a Padovan cube with nodes. Define .
Example 2. Figure 1 shows examples of Padovan cubes of order N, where N = 1, 2, 4, 7, 12, 21, and 37, respectively. Note that since each bit in the Padovan code corresponds to an odd-Padovan number, two vertices, i and j, are adjacent only if for some k. For example, in the Padovan cube of size 12, the vertex has a link with each of the following vertices: , , , and , which all have a difference of 0 from an odd-Padovan number. Note that, for example, , contains three subgraphs that are isomorphic to , , and , respectively. There are edges connecting the three subgraphs.
Lemma 4. Let be the Padovan cube of order n for all . Let , , and denote the subgraphs of induced by the set of vertices in , , and , respectively. Then, we have , , and .
Proof. If
n = 5, 6, then, from
Figure 1, it is easy to verify the lemma.
Recall that the set of order-n Padovan codes denotes the set of labels of vertices in . Thus, the interconnections of are based on the Hamming distance of these codes. From Theorem 1, we know that . Note that , , and are exactly the set of labels of the vertices in , , and , respectively. Moreover, if and only if because both i and j have the same prefix of ‘0’ in the order n codes, which does not affect their Hamming distance. In other words, . Similarly, and . □
Let denote the Padovan cube of order n, . The edges set is defined as the edge if and only if and . The edges set is defined as the edge if and only if and . The edges set is defined as the edge if and only if and , where the vertices sets , , and are the same as defined in Lemma 4.
For example, from
Figure 1, it can be seen that for
, we have
,
, and
. Furthermore, then
,
, and
.
Lemma 5. For the Padovan cube of order n, , , we have , , and .
Proof. Let , , and be the same as defined in Corollary 1. Since if and only if , we have , , and . Therefore, from Corollary 1, the proof is completed. □
We know that for the Padovan sequence , . Thus, we have and .
We now characterize the Padovan cubes.
Theorem 2. For , the Padovan cube can be decomposed into , , and ; the three subgraphs are pairwise disjointed and are connected exactly by the set of edges in , , and .
Proof. Let , , and be the same as defined in Lemma 4. By Lemma 4, , , and . Moreover, based on the definition of three induced subgraphs, we have , , and . It should be clear that each edge in connects a vertex j in to a vertex in . Furthermore, each edge in connects a vertex j in to a vertex in . Moreover, each edge in connects a vertex j in to a vertex in .
We will now show that no other edges exist between and .
By Theorem 1, all vertices in have a prefix of ‘10’ in their labels, while all vertices in have a prefix of ‘00’ or ‘01’. If i is the vertex with the prefix of ‘01’ and j is the vertex with the prefix of ‘10’, then . Thus, there is no such edge in that exists between a vertex and a vertex .The only possibility is to have the edges between and , as given by .
Similarly, for two vertices, i and j, in , these properties are obtained for and , even if the vertices are the same as in the two cases and , .
Therefore, the proof is completed. □
Let
be the number of edges of the Padovan cube
for
. From
Figure 1, we know that
,
,
,
,
,
, and
.
Corollary 2. If is the number of edges of the Padovan cube for , then we have Proof. From Lemma 5, since , , and , the proof is completed. □
In particular, the generating function of
is
4. Decompositions and Topological Properties of Padovan Cubes
Now, we define a sequence
of positive integers by using the odd-Padovan sequence
. Let
be defined as follows:
,
,
,
, and for
,
. Then, we have
Since , we know that the sequence is defined in the same way as the odd-Padovan sequence .
In
Figure 1, we see that
contains three subgraphs:
,
, and
. Moreover,
can be decomposed into three subgraphs,
,
, and
; therefore,
contains two disjointed
, one
, one
, and one
. Using the introduced notations, we write
to denote that
contains two disjointed subgraphs that are isomorphic to
, one subgraph that is isomorphic to
, one subgraph that is isomorphic to
, and one subgraph that is isomorphic to
.
Theorem 3. For and , the Padovan cube admits the following decomposition: for , Proof. From Theorem 2, we know that
,
,
, and
. Since
,
,
, and
, we have, for
,
We now assume that the statement holds true for
and
, where
. By induction, we consider the case
and
. According to Theorem 2,
consists of one
, one
, and one
. Based on the hypothesis,
is divided into
of
,
of
,
of
, and
of
,
is divided into
of
,
of
,
of
, and
of
, and
is divided into
of
,
of
,
of
, and
of
. Together, the total number of
is
, the total number of
is
, the total number of
is
, and the total number of
is
. That is,
The proof is completed by an induction on and . □
For example, for
, since
,
,
, and
, we have
Thus, if
, then we have
That is, the Padovan cube consists of 169 , 127 , 55 , and 96 .
Let and , respectively, denote the Boolean cube and the Fibonacci cube of order n. It is well known that the Boolean cube can be decomposed into two isomorphic plus a set of edges connecting all corresponding vertices in the two subgraphs, while the Fibonacci cube can be decomposed into two subgraphs and plus a set of edges connecting all corresponding vertices in the two subgraphs, where is the nd Fibonacci number.
In [
1], we have the following lemma.
Lemma 6 ([
1])
. Let denote the Fibonacci cube of order n. Assume that . Then,- (1)
- (2)
- (3)
Theorem 4. Let , , and denote the Fibonacci cube, the Padovan cube, and the Boolean cube, respectively, of order n. Then,
- (1)
for ;
- (2)
for ;
- (3)
for .
Proof. (1) We will show that the set of vertices in is a subset of . If this is true, then we can safely claim that , because the interconnections are based on the same Hamming distance. The key observation is as follows. With the Boolean cube , all combinations of 0s and 1s are permitted in an n-bit binary code. By contrast, from Lemma 3, there is no case wherein three 1s appear consecutively in the -bit Padovan representation for . Thus, . Similarly, since no consecutive 1s appeared in the Fibonacci codes, we have . Thus, .
(2) The embedding of
in
can be proved by induction. As the basis,
, so
(refer to
Figure 1). Assume that the statement is true for
, where
denotes an integer. Now, consider
.
By Theorem 2, can be decomposed into , , and . Furthermore, there are edges connecting each vertex i in to its corresponding vertex in , edges connecting each vertex i in to its corresponding vertex in , and edges connecting each vertex in to its corresponding vertex in , where .
At this point, can also be decomposed into two isomorphic plus a set of edges connecting all corresponding vertices in the two subgraphs. By the induction hypothesis, each can be embedded in , and therefore, in . On the other hand, it can be seen that is a subset of . Thus, and the proof is therefore completed.
(3) The embedding of
in
can be proved by induction on
n. Since
has five vertices, which are 000, 001, 010, 100, and 101, and five edges, and
has four vertices, which are 00, 01, 10, and 11, and four edges, it can clearly be seen that we have
(refer to
Figure 1 and
Figure 2). Assume that the statement is true for
, where
denotes an integer. Now, consider
.
It is well known that the Fibonacci cube can be decomposed into and and there are edges connecting each vertex i in to its corresponding vertex in where .
Now, can also be decomposed into , , and plus three sets , , and of , , and , respectively, with edges connecting all corresponding vertices in the three subgraphs. By the induction hypothesis, , , and can be embedded in , , and , respectively. Furthermore, from Lemma 6, we know that . On the other hand, and already have been embedded into and it can therefore be seen that is a subset of .
Therefore, and hence the proof is completed. □
For example, the graph
is shown in
Figure 2. In
Figure 3, an embedding of
in
is shown, where vertices marked with a tiny circle correspond to the ‘forbidden’ codes and vertices marked with a black point correspond to the ‘embedding’ codes in the Padovan representation. Similarly, in
Figure 4, an embedding of
in
is shown, where vertices marked with a tiny cross correspond to the ‘forbidden’ codes and vertices marked with a black point correspond to the ‘embedding’ codes in the Fibonacci representation.
In [
19], we can find the backgrounds and application prospects of the hypercube interconnection network. That is, in the field of supercomputing computer architecture, the hypercube interconnection network is defined as a binary
n-cube multiprocessor. The hypercube is treated as a loosely coupled system that is composed of
processors that are linked in an
n-dimensional binary cube. Each processor denotes a node of the cube. In particular, in [
19], the author briefly introduced the fields where the Fibonacci cube is used. For example, in mathematical chemistry, this concept is used in the study of hexagonal graphs. Furthermore, in computer science, Fibonacci cubes are interesting from an algorithmic point of view. Therefore, research into the Padovan cubes that considers the Fibonacci cubes is interesting.
We now consider the degree of the vertices in the Padovan cube . The floor function , also called the greatest integer function or integer value, gives the largest integer less than or equal to x. Similarly, the ceiling function gives the smallest integer greater than or equal to x. For example, , .
Theorem 5. Let denote the degree of the vertex i in the Padovan cube , for . Then, we can obtain
Proof. From
Figure 1, we have
,
,
, and
. That is, for
, and 5, the inequality
is established.
We now consider . Recall that the Padovan code that represents a vertex in has bits. The neighbors of a vertex i all have a Hamming distance of 1 with , the Padovan code of i. Clearly, the vertex 0 has exactly neighbors in , and hence for all other vertices.
Let
denote the minimum degree in
. From
Figure 1, we know that
,
,
, and
. The Padovan cube
can be decomposed into three subgraphs
,
, and
, which are induced by the three sets of vertices
,
, and
, respectively. Theorem 2 is applied again and
decomposed into three subgraphs,
,
, and
, induced by the vertices
,
, and
, respectively. Let
and
, which are induced by the two sets of vertices
and
, respectively. It can be seen that
, where the first
corresponds to the minimum degree of vertices in
; the second term
to
; the third term
to
; the fourth term
to
; and the fifth term
to
. Since
for all
, we have
.
We now have two cases:
- (i)
Since and (ii);
- (ii)
.
- (i)
Since , , , , and , we know that , , , , and , which implies that ;
- (ii)
Since , we have that , ⋯, , , , ⋯, , , and so on. Thus, this fact can be changed as follows: , ⋯, , , , ⋯, , , and so on. This implies that .
From the above two cases, we have . Since for , we have . □
Let and , respectively, denote the Padovan codes of two vertices i and j in . Note that a path connecting the vertex i and the vertex j corresponds to a sequence of codes that transforms to , where two consecutive codes differ by exactly one bit. The following lemma shows that the Padovan cube is connected, i.e., that a path always exists between any pair of vertices i and j. Moreover, the length of the shortest path is determined by the Hamming distance between and .
Lemma 7. Let denote the distance between the vertex i and the vertex j in the Padovan cube , . Let and denote the Padovan codes of two vertices, i and j, respectively, in . We then have .
Proof. To prove that is the distance between the vertex i and vertex j, we first demonstrate that it is possible to construct a path of that length. We then show that there are no shorter paths between the vertex i and the vertex j. Therefore, .
Assume that . Now, we will construct a path from the vertex i to the vertex j. The construction is as follows. Find the most significant bit where and differ. Let the bit position found be k. Without a loss of generality, let and . Now, by definition, has a link with , where denotes the complement of . Note that . The construction ends if ; otherwise, we simply proceed recursively for and . By using a simple inductive argument, it is easy to show that the construction will connect the vertex i and the vertex j and the length of the path is equal to .
Now, we show that there are no shorter paths between the vertex i and the vertex j in . Note that is a subgraph of . It is known that in , the shortest path between the vertex k and the vertex l is of length , where K and L denote the binary codes of k and l, respectively. Since the two Padovan codes and , respectively, represent the two vertices and in , the shortest path between the vertex and the vertex in must be greater than or equal to . Therefore, we have . □
Theorem 6. Let denote the diameter of the Padovan cube for all . Then, the Padovan cube is a connected graph and for all .
Proof. The graph
is connected by Lemma 7. Clearly, from
Figure 1, we know that
,
,
, and
.
For
and positive integer
, note that
and
respectively, differ in exactly
places in their Padovan codes. Hence, the distance between the vertex
and the vertex
is
by Lemma 7. It should be clear that no other pairs of vertices in
can be of greater distance.
Therefore . □
5. Conclusions
Here, we presented the Padovan cube and analyzed its structural properties. The structural issues that were analyzed include the recursive decompositions, boundary conditions of the degree, diameter, and relations with other structures of the cubes. We also showed that various types of structures can be directly embedded in the Padovan cube. These preliminary results show that the Padovan cubes have very attractive recurrent structures.
However, compared with the Boolean cube and Fibonacci cube, the Padovan cube is hard to handle. The first few terms of the Padovan sequence overlap in the same number, so achieving the completeness of the Padovan sequence is easy but uniqueness cannot be guaranteed. To ensure uniqueness, the Padovan cube was only constructed with the odd-term subsequences, so the properties of the existing Padovan sequence could not be used as they were.
We can consider the communication primitives. On a Padovan cube of order n, we determine that the send/receive operation between any two vertices can be completed in at most steps, which is optimal. The Padovan cube may also be useful for a reconfigurable distributed network, because recursive message-routing algorithms can be designed for such networks, and the cost of interconnections is less than that of the Boolean cube.
We can construct a Padovan cube
of order
n with Algorithm 2 (Padovan cubes algorithm).
Algorithm 2 Padovan Cubes Algorithm. |
- (1)
Choose n according to the length of the binary codes you want to construct. Then, the binary codes are all in length. - (2)
For the nth odd-Padovan number , the set of Padovan codes is obtained using the Padovan Coding Algorithm. - (3)
The vertices are numbered sequentially from 0 to . - (4)
If the Hamming distance between the codes of any two vertices is 1, then the two vertices are connected by an edge. Otherwise, the two vertices are not connected.
|
Various properties related to Padovan cubes that were not covered in this paper should continue to be studied in the future. For example, we may consider a Padovan cube polynomial. Furthermore, as in the Lucas sequence in the Fibonacci sequence, the Lucas–Padovan sequence for the Padovan sequence can be considered, and it is expected that another cube can be constructed using this approach.