Proof. Since we have If then where any vertex If then where any vertex In addition, we have For according to Observation 2, then Then, we have where Next, we consider
If l is odd, for any vertex , we have In addition, we have According to Observation 2,
We consider that l is even. For any vertex such that we have For any vertex such that we have Moreover, Furthermore, according to Observation 2, we have Then, whether l is odd or even, we have Therefore, for we have
Therefore, the conclusion holds. □
3.1. Results of
Corollary 1. Let If and then where
Proof. We have Similarly, In addition, According to Lemma 1, we have where Therefore, the conclusion holds. □
Let If then , and Now, let us consider the case in which For the sake of research, we propose Definition 4.
Definition 4. Let , and let . We define the following notation:
- (1)
Let be non-negative integers satisfying and We assume are two different loop vertices closest to where Then, , and Moreover, we know that and If let be the vertex such that and
- (2)
Let z be any vertex such that Let where For any vertex and , the walk from z to v through is denoted by that is, The walk from z to v through is denoted by that is, The shorter of the two walks ( and ) is denoted as
Remark 2. According to Definition 4, if then If then In Definition 4(2), suppose and Then, the walk from z to through is denoted by that is, The walk from z to through is denoted by that is,
Proposition 4. Let and Let z be any vertex such that Then, for any vertex , there exists a walk () such that and If the equation holds, then
Proof. Note that
and we consider
, which are defined in Definition 4. Let us assume that
We have
Then,
For similar to there are two different walks from z to , each passing through a loop vertex, and the sum of the lengths of the two walks is not greater than
For any vertex v satisfying we have Similar to for any vertex v satisfying we can conclude that Moreover, we have and and Therefore,
If Since we have Then, Therefore, we have Furthermore, □
Corollary 2. Let , and let Let z be any vertex such that . Then,
- (1)
If then there exist two different walks () such that and and and
- (2)
If then there exist two different walks () such that and and and
Proof. (1) Let us assume that There exists a walk () from z to that is There exists another walk () from z to that is Obviously, , and
- (2)
The proof is similar to (1), so we can omit it.
□
Lemma 2. Let and Suppose that and Then, where
Proof. Since the vertex y satisfies then According to Definition 4, are two different loop vertices closest to where According to Proposition 4, the walk from y to satisfies Moreover, Since we conclude that Then, If we have According to Lemma 1, the conclusion holds. Next, we consider Then,
Case 1:
According to Corollary 2(1), there exists a walk () from y to and There exists a walk () from y to and Note that and There exists a walk () from x to that is Similarly, there exists a walk () from x to that is Note that and
Then, , and According to Proposition 2, this conclusion holds.
Case 2:
According to Corollary 2(2), there are two different walks () through a loop vertex. We have and Similar to there exists a walk () through a loop vertex, and satisfies Similarly, there exists a walk () through a loop vertex, and satisfies
Note that , and According to Proposition 3, this conclusion holds. □
Lemma 3. Let and Suppose that , and Then, where
Proof. Because then Since then is not a loop vertex. According to Definition 4, are two different loop vertices closest to where According to Proposition 4, there exists a walk () from y to that satisfies Moreover, Since then
If we have According to Lemma 1, the conclusion holds. If , and The following proof is similar to the proof of Lemma 2. According to Corollary 2, we have Furthermore, If we conclude that If we conclude that Therefore, this conclusion holds.
Next, we consider , and Then, We can draw the following two conclusions: if n is odd, then or if n is even, then
Case 1: n is odd, and
Then, , and Since we have or Let us assume that Since then Therefore, we have Note that According to Corollary 2(1), we have Furthermore, we have , and According to Proposition 2, this conclusion holds. For it is similar to so we can omit it.
Case 2: n is odd, and
Then, , and We have Moreover, we know that , and If then If then or Since then the path from x to goes through a loop vertex. In addition, we have Then, Note that According to Corollary 2, Furthermore, we have For we have For any vertex , we have Therefore,
Case 3: n is even.
Then, , and Moreover, we have and Then, Since we have Note that According to Corollary 2(1), we have Furthermore, we have , and According to Proposition 2, this conclusion holds. □
Lemma 4. Let Suppose that , and . Then, where
Proof. According to Definition 4, are two different loop vertices closest to where It is known that Let where Then, the length of the path is Then, Then, Similarly, Furthermore, we have
Case 1:
Then, Let v be any vertex satisfying According to Proposition 4, there exists a walk such that Moreover, Similarly, we have Then, , and According to Proposition 2, this conclusion holds.
Case 2:
Then, Let any vertex . According to Proposition 4, there exists a walk () such that Moreover, Similarly, we have Then, , and According to Proposition 3, this conclusion holds. □
Lemma 5. Let where n is even. If and then where
Proof. Let be the nearest loop vertices to where and If we have If , then there exists a walk () such that and Therefore, Similarly, we have Furthermore, we have For any integer r such that we have Therefore, the conclusion holds. □
3.2. Results of
In order to obtaining results of we need to provide the following proposition, its corollary, and Definition 5.
Proposition 5. Let and Let be a subgraph of G such that is connected. Suppose that the set satisfies , and suppose that Then, where r is any integer such that
Proof. Since where r is any integer such that
Let Then, there exists a path () from z to w in that satisfies and the path does not pass through other vertices in , except where and Let us denote z as We denote the vertex sequence of path as It is easy to obtain and where i is any integer such that Therefore, for any integer g satisfying there exists such that
Next, we label the vertices in according to their distance from Let Let , and where We label the vertices in according to in order and label the vertices in as Moreover, we have For any vertex , we have where Moreover, According to Observation 2, where Furthermore, we have Therefore, Therefore, the conclusion holds. □
Corollary 3. Let and Let , and denote that and are connected. Let and Let and satisfy and where If then where r is any integer such that
Proof. We know that are the induced subgraphs from respectively. Since then where r is any integer such that
If or then We have Therefore, the conclusion holds.
Next, we consider and It is known that is a subgraph of G, and is connected. Furthermore, it is known that , and According to Proposition 5, we have where Similarly, we have where In addition, , and where Therefore, we have where r is any integer such that □
Definition 5. Let , and let z be any vertex of G. If in Proposition 6 and Lemma 6, we define the following notation:
- (1)
Suppose that ; then,
- (2)
If is not a loop vertex. Let be the nearest loop vertex to , where and If there are at least two loop vertices nearest to on , we take any of their vertices as which does not affect the conclusion of Proposition 6 and Lemma 6. The walk from z to is recorded as that is,
- (3)
If and , we assume that then, Let be the nearest loop to , where and If we know that The walk from z to is recorded as that is, where If the walk () from z to is
- (4)
Let represent the cases of and and respectively. When let Then, and are connected. When let When let Let When let Then, , and where Moreover, for we have
Proposition 6. Let Suppose that Then,
- (1)
If then
- (2)
If then , and
Proof. (1) We consider ; then, We have Similarly, Then, , and Furthermore, we have
We consider ; then, is not a loop vertex, and According to Definition 5(2), is the nearest loop vertex to Then, the path from to does not pass through any loop vertex other than Therefore, we have Because we have Similarly, Then, , and Further, we have
- (2)
We consider
; then,
is not a loop vertex, and
According to Definition 5, we have
and we have
Therefore, Note that , and Then, Similarly, we have
In addition, the length of the walk is We have The length of the walk is Therefore, Then, we have , and Furthermore, we have , and
□
Lemma 6. Let Then,
- (1)
If then - (2)
If then where
Proof. Since or let us assume that Since then The case of is similar to that of so we omit it. When we know that and are connected. Moreover, , and According to Proposition 6, if then If then , and
- (1)
We know that , and For next, we can conclude that Case a and Case b hold.
Case a: If
We consider According to Corollary 3, where Hence, we have where
Now, let us consider the case in which and In Proposition 5, let and Then, For any vertex , we have Moreover, Therefore, According to Proposition 5, we have where r is any integer such that Therefore, for we have
In particular, let us consider the case in which If for any vertex , we have Moreover, Therefore, If we have where
Since for we have then Therefore, the conclusion holds.
We consider According to Corollary 3, where Hence, we have where
Now, let us consider the case in which and In Proposition 5, let and It is known that Then, For any vertex , we have Moreover, Thus, Therefore, According to Proposition 5, we have where r is any integer such that Therefore, for we have
In particular, let us consider the case in which If for any vertex , we have Moreover, Therefore, If we have where
Since then Therefore, the conclusion holds. As demonstrated above, for if we have where
Case b: If ,
We consider According to Corollary 3, where Moreover,
We consider According to Corollary 3, where Moreover,
Hence, for we have where
- (2)
We consider If then If then Therefore, for we have If n is odd, then If n is even, then , and Whether n is odd or even, we have or Combining in Case a and Case b, we have where
We consider Note that If n is odd, then If n is even, then , and Whether n is odd or even, we have or Combining in Case a and Case b, we have where
□