Next Article in Journal
Extended VIKOR-QUALIFLEX Method Based on Trapezoidal Fuzzy Two-Dimensional Linguistic Information for Multiple Attribute Decision-Making with Unknown Attribute Weight
Next Article in Special Issue
A Note on the Paired-Domination Subdivision Number of Trees
Previous Article in Journal
Mining High Utility Itemsets Based on Pattern Growth without Candidate Generation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On BC-Subtrees in Multi-Fan and Multi-Wheel Graphs

1
School of Computer Science, Henan Province Key Laboratory of Germplasm Innovation and Utilization of Eco-economic Woody Plant, Pingdingshan University, Pingdingshan 467000, China
2
College of Computer Science and Technology, Henan Polytechnic University, Jiaozuo 454003, China
3
Department of Mathematical Sciences, Georgia Southern University, Statesboro, GA 30460, USA
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(1), 36; https://doi.org/10.3390/math9010036
Submission received: 26 November 2020 / Revised: 17 December 2020 / Accepted: 21 December 2020 / Published: 25 December 2020
(This article belongs to the Special Issue Graphs, Metrics and Models)

Abstract

:
The BC-subtree (a subtree in which any two leaves are at even distance apart) number index is the total number of non-empty BC-subtrees of a graph, and is defined as a counting-based topological index that incorporates the leaf distance constraint. In this paper, we provide recursive formulas for computing the BC-subtree generating functions of multi-fan and multi-wheel graphs. As an application, we obtain the BC-subtree numbers of multi-fan graphs, r multi-fan graphs, multi-wheel (wheel) graphs, and discuss the change of the BC-subtree numbers between different multi-fan or multi-wheel graphs. We also consider the behavior of the BC-subtree number in these structures through the study of extremal problems and BC-subtree density. Our study offers a new perspective on understanding new structural properties of cyclic graphs.

1. Introduction

A topological index is a numerical graph invariant that can quantitatively characterize the properties of the corresponding structure. Topological indices in general have applications in numerous areas such as network design, compounds synthesis, pharmacology, and biology. Consequently a large number (approximately four hundred) of topological indices have been introduced during previous decades.
Among various topological indices, distance-based [1,2,3,4], degree-based [5,6,7,8], counting-based [9,10,11,12,13] have received much attention [14,15,16,17], and many indices have been employed as tools for characterization of molecular topology [18,19,20,21].
Compared to the subtree number index [22,23,24,25,26], the BC-subtree number index is a counting-based topological index that incorporates leaf distance constraint. First of all, a BC-tree is a tree in which any two leaves are at even distance apart. This important structure was introduced by F. Harary et al. [27,28]. The BC-subtree number index or simply the BC-subtree index was first introduced in [13], as the number of all non-empty BC-subtrees (subtrees that are also BC-trees) of a graph.
Much work has been done on the BC-trees and BC-subtree number index. Some examples include generic chemical structures storage problem [29,30], fault-tolerant computing and parallel scheduling [31,32], recognizing and identifying special substructures [33,34,35], the flow network simplification [36], Markovian queueing systems decomposition [37], matching problem [38,39], extremal and density problems [13,40], and enumerating algorithm design [13,41].
We are particularly interested in the enumeration of BC-subtrees. Using a generating functional approach proposed by Yan and Yeh in [12] (for general subtrees), Yang et al. [13] presented algorithms of enumerating BC-subtrees of trees. Later Yang et al. [41] solved the BC-subtree enumeration problem on uni-cyclic and edge-disjoint bicyclic graphs and further generalized this study to spiro and polyphenyl hexagonal chains [40].
Previous studies show that the multi-fan and multi-wheel graphs (Definitions 1 and 2) have many interesting properties and applications in circuit layout and interconnection network design. The W n + 1 is also useful in designing efficient wireless ad hoc networks [42]. The wheel-transposition graphs (graphs generated by wheel graphs) could be used in parallel and distributed system [43]. Both the multi-fan graphs and the wheel graphs W n + 1 ( n 6 ) are among the graphs that can be determined by its Laplacian spectra [44,45]. Moreover, the Hilbert series of fan graphs, multi-fan graphs and multi-wheel graphs were derived in [46]. Subtrees of Fan Graphs, Wheel Graphs, and “Partitions” of Wheel Graphs under Dynamic Evolution was studied in [47]. In this paper we will consider the BC-subtree number index for these two structures.
We first introduce related preliminary information in Section 2. The BC-subtree generating functions of multi-fan graphs and multi-wheel graphs are provided in Section 3 and Section 4. Some special cases are also discussed as immediate consequences. In Section 5 we make use of our findings to consdier the behavior of the BC-subtree number in the above mentioned structures. Extremal problems are studied. We summarize our work in Section 6.

2. Preliminaries

Before introducing our main results there are quite some preparations to do. Let G = ( V ( G ) , E ( G ) ; f , g ) be a weighted graph with vertex set V ( G ) , edge set E ( G ) , vertex-weight function f = ( f o ( u ) , f e ( u ) ) ( f o ( u ) and f e ( u ) are the odd, even weight of u V ( G ) , respectively) and edge-weight function g = g ( e ) for e E ( G ) . First we list the necessary notations and terminologies.

2.1. Basic Notations

  • d G ( u , v ) : the distance between u V ( G ) and v V ( G ) .
  • G \ Y : the graph after removing Y from G.
  • L ( T ) : the leaf set of T.
  • f o ( u ) , f e ( u ) : the odd, even weight of u V ( G ) , respectively.
  • S ( G ; X ) : the subtree set of G containing X, where X can be a vertex set or an edge set (or both), or a subtree of G.
  • S ( G ; v , odd ) : the subtree set of G containing v such that all leaves (excluding v) have odd distance from v; the subtrees in S ( G ; v , odd ) are called the v o d d -subtrees of G.
  • S ( G ; v , even ) : the subtree set of G containing v such that all leaves (excluding v) have even distance from v; Note that the single vertex tree v itself is included in this set and we call subtrees in S ( G ; v , even ) the v e v e n -subtrees of G.
  • ω v o ( T 1 ) , ω v e ( T 1 ) : the ω v o , ω v e weight of subtree T 1 S ( G ; v ) , respectively.
  • S B C ( G ) : the BC-subtree set of G.
  • S B C ( G ; X ) : the set of BC-subtrees of G containing X, where X can be a vertex set or an edge set (or both), or a subtree of G.
  • ω b c ( T 2 ) : the BC-weight of T 2 S B C ( G ) .
  • F B C ( · ) : the sum of BC-weight of BC-subtrees in S B C ( · ) .
  • η B C ( . ) : the number of BC-subtrees in set S B C ( . ) .
Given T 1 S ( G ; v ) and v a fixed vertex of V ( G ) , let
S o ( T 1 ) = { u | u V ( T 1 ) d T 1 ( v , u ) 1 ( mod 2 ) }
and
S e ( T 1 ) = { u | u V ( T 1 ) d T 1 ( v , u ) 0 ( mod 2 ) } .
Then:
  • the ω v o weight of T 1 , denoted by ω v o ( T 1 ) , is:
    -
    If T 1 is a weighted single vertex v, then ω v o ( T 1 ) = f o ( v ) ;
    -
    otherwise,
    ω v o ( T 1 ) = ( 1 + f o ( v ) ) u S o ( T 1 ) f e ( u ) u S e ( T 1 ) \ v u L ( T 1 ) ( 1 + f o ( u ) ) u S e ( T 1 ) \ v u L ( T 1 ) f o ( u ) e E ( T 1 ) g ( e ) .
  • the ω v e weight of T 1 , denoted by ω v e ( T 1 ) , is defined as:
    -
    If T 1 is a weighted single vertex v, then ω v e ( T 1 ) = f e ( v ) ;
    -
    otherwise, ω v e ( T 1 ) = u S e ( T 1 ) f e ( u ) u S o ( T 1 ) u L ( T 1 ) ( 1 + f o ( u ) ) u S o ( T 1 ) u L ( T 1 ) f o ( u ) e E ( T 1 ) g ( e ) .
The odd, even generating function of S ( G ; v ) are respectively defined as
F ( G ; f , g ; v , odd ) = T 1 S ( G ; v ) ω v o ( T 1 ) = T 1 S ( G ; v , odd ) ω v o ( T 1 ) ,
and
F ( G ; f , g ; v , even ) = T 1 S ( G ; v ) ω v e ( T 1 ) = T 1 S ( G ; v , even ) ω v e ( T 1 ) .
Similarly, for a given BC-subtree T 2 of a weighted graph G, we define
B S e ( T 2 ) = { u | u V ( T 2 ) d T 2 ( u , v l ) 0 ( mod 2 ) }
and
B S o ( T 2 ) = { u | u V ( T 2 ) d T 2 ( u , v l ) 1 ( mod 2 ) }
where v l L ( T 2 ) .
The BC-weight of T 2 S B C ( G ) is
ω b c ( T 2 ) = u B S e ( T 2 ) f e ( u ) e E ( T 2 ) g ( e )
and the BC-subtree generating function of G is
F B C ( G ; f , g ) = T S B C ( G ) ω b c ( T ) .
Similarly,
F B C ( G ; f , g ; X ) = T S B C ( G ; X ) ω b c ( T ) .
Let η ( G ; v , odd ) (resp. η ( G ; v , even ) ) denote the number of v o d d -subtrees (resp. v e v e n -subtrees) in S ( G ; v , odd ) (resp. S ( G ; v , even ) ). Then
η ( G ; v , odd ) = F ( G ; ( 0 , 1 ) , 1 ; v , odd ) ,
η ( G ; v , even ) = F ( G ; ( 0 , 1 ) , 1 ; v , even )
and
η B C ( G ) = F B C ( G ; ( 0 , 1 ) , 1 ) , η B C ( G ; X ) = F B C ( G ; ( 0 , 1 ) , 1 ; X )

2.2. Facts

With the above notations we introduce some previously established results that will be used in our arguments.
Let T = ( V ( T ) , E ( T ) ; f , g ) be a weighted tree of order n > 1 with vertex weight function f ( u ) = ( f o ( u ) , f e ( u ) ) for u V ( T ) and edge weight function g = g ( e ) for e E ( T ) , assume w ˜ v i be a pendant vertex and e ˜ = ( w ˜ , u ˜ ) the pendant edge of T, let T = ( V ( T ) , E ( T ) ; f , g ) of order n 1 be the weighted tree constructed from T through “contracting” w ˜ as follows: V ( T ) = V ( T ) \ w ˜ , E ( T ) = E ( T ) \ e ˜ , and
f o ( v s ) = f o ( u ˜ ) ( 1 + g ( e ˜ ) f e ( w ˜ ) ) + g ( e ˜ ) f e ( w ˜ ) if v s = u ˜ , f o ( v s ) otherwise .
f e ( v s ) = f e ( u ˜ ) ( 1 + g ( e ˜ ) f o ( w ˜ ) ) if v s = u ˜ , f e ( v s ) otherwise .
for any v s V ( T ) , and g ( e ) = g ( e ) for any e E ( T ) .
Lemma 1
([13]). Following the above notations, we have F ( T ; f , g ; v i , odd ) = F ( T ; f , g ; v i , odd ) and F ( T ; f , g ; v i , even ) = F ( T ; f , g ; v i , even ) .
Lemma 2
([13]). Let P n be a path on n vertices with vertex weight function f ( v ) = ( 0 , y ) for all v V ( P n ) and edge weight function g ( e ) = z for all e E ( P n ) . Then,
F B C ( P n ; f , g ) = i = 1 n 2 1 ( n 2 i ) y 2 z 2 ( y z 2 ) i 1
Lemma 3
([13]). Let K 1 , n be a star on n + 1 vertices with vertex weight function f ( v ) = ( 0 , y ) for all v V ( K 1 , n ) and edge weight function g ( e ) = z for all e E ( K 1 , n ) . Then,
F B C ( K 1 , n ; f , g ) = i = 2 n n i y i z i
A unicyclic graph is a connected graph whose number of edges is equal to the number of vertices.
Lemma 4
([41]). Let U n = ( V ( U n ) , E ( U n ) ; f , g ) be a weighted unicyclic graph of order n with no pendant vertices, whose vertex weight function f ( v ) = ( 0 , y ) for all v V ( U n ) and edge weight function g ( e ) = z for all e E ( U n ) . Then,
F B C ( U n ; f , g ) = i = 1 n 2 1 n y 2 z 2 ( y z 2 ) i 1

2.3. Observations

We now move on to establish some new observations to facilitate our discussion of the main results later.
Let T = ( V ( T ) , E ( T ) ; f , g ) be a weighted tree on n ( 2 ) vertices, with the vertex weight function f ( u ) = ( f o ( u ) , f e ( u ) ) for u V ( T ) and the edge weight function g = g ( e ) for e E ( T ) . Let T v be a subtree of T and define T v * = ( V ( T v * ) , E ( T v * ) ; f * , g * ) the weighted subtree constructed from T through contracting leaves of T recursively with V ( T v * ) = V ( T v ) , and E ( T v * ) = E ( T v ) as follows:
  • Choose a pendant vertex w ˜ ( L ( T ) V ( T v ) ) and let e ˜ = ( w ˜ , u ˜ ) denote the pendant edge;
  • Update the odd, even weight of u ˜ , and edge weight with rule as described in Lemma 1;
  • Remove the vertex w ˜ , edge e ˜ and set T : T \ { w ˜ , e ˜ } ;
  • Repeat the contracting process until the remaining tree is the weighed tree T v * = ( V ( T v * ) , E ( T v * ) ; f * , g * ) with V ( T v * ) = V ( T v ) , and E ( T v * ) = E ( T v ) .
From Lemma 1 we have the following two observations as immediate consequences. We skip the repetitive details.
Theorem 1.
Given T v a subtree of T = ( V ( T ) , E ( T ) ; f , g ) containing vertex v, and let T v * = ( V ( T v * ) , E ( T v * ) ; f * , g * ) be the weighted subtree defined above, then, the odd and even generating functions of S ( T ; T v ) , denoted by F ( T ; f , g ; T v , o d d ) and F ( T ; f , g ; T v , e v e n ) , respectively, are
F ( T ; f , g ; T v , odd ) = u V o ( T v * ) f e * ( u ) u V e ( T v * ) \ v u L ( T v * ) ( 1 + f o * ( u ) ) u V e ( T v * ) \ v u L ( T v * ) f o * ( u ) ( 1 + f o * ( v ) ) e E ( T v * ) g * ( e ) ,
F ( T ; f , g ; T v , even ) = e E ( T v * ) g * ( e ) u V e ( T v * ) f e * ( u ) u V o ( T v * ) u L ( T v * ) ( 1 + f o * ( u ) ) u V o ( T v * ) u L ( T v * ) f o * ( u ) ,
where V o ( T v * ) = { u | u V ( T v * ) d T v * ( u , v ) 1 ( mod 2 ) } , and V e ( T v * ) = { u | u V ( T v * ) d T v * ( u , v ) 0 ( mod 2 ) } .
Theorem 2.
Given T v a subtree of T = ( V ( T ) , E ( T ) ; f , g ) , and let T v * = ( V ( T v * ) , E ( T v * ) ; f * , g * ) be the weighted subtree obtained from T defined above, then, the BC-subtree generating function of T containing the subtree T v is
F B C ( T ; f , g ; T v ) = ( f o * ( v l ) u V o ( T v * ) f e * ( u ) u V e ( T v * ) u L ( T v * ) ( 1 + f o * ( u ) ) u V e ( T v * ) u L ( T v * ) f o * ( u ) + f e * ( v l ) u V e ( T v * ) f e * ( u ) u V o ( T v * ) u L ( T v * ) ( 1 + f o * ( u ) ) u V o ( T v * ) u L ( T v * ) f o * ( u ) ) e E ( T v * ) g * ( e ) ,
where v l L ( T v * ) is a leaf, V o ( T v * ) = { u | u V ( T v * ) d T v * ( u , v l ) 1 ( mod 2 ) } , and V e ( T v * ) = { u | u V ( T v * ) d T v * ( u , v l ) 0 ( mod 2 ) } .
We now establish the following for general graphs.
Theorem 3.
Let graph G = ( V ( G ) , E ( G ) ; f , g ) be obtained from G 1 and G 2 by identifying the unique common vertex c (see Figure 1), with the vertex weight function f ( v ) = ( f o ( v ) , f e ( v ) ) for v V ( G ) and the edge weight function g ( e ) = z for e E ( G ) . Then
F B C ( G ; f , g ; c ) = F B C ( G 1 ; f , g ; c ) + 1 ( 1 + f o ( c ) ) i = 1 2 F ( G i ; f , g ; c , odd ) + 1 f e ( c ) i = 1 2 ( F ( G i ; f , g ; c , even ) f e ( c ) ) + F B C ( G 2 ; f , g ; c ) .
If the vertex weight function f ( v ) = ( 0 , y ) for v V ( G ) , then we have
F B C ( G ; f , g ; c ) = F B C ( G 1 ; f , g ; c ) + i = 1 2 F ( G i ; f , g ; c , odd ) + 1 y i = 1 2 ( F ( G i ; f , g ; c , even ) y ) + F B C ( G 2 ; f , g ; c ) .
Proof. 
We will prove the claimed expression by considering different cases of the BC-subtrees of G containing c:
S B C ( G ; c ) = T 1 T 2 T 3
where
(i)
T 1 is the set of BC-subtrees in S B C ( G ; c ) such that all edges of each BC-subtree are only in G 1 ;
(ii)
T 2 is the set of BC-subtrees in S B C ( G ; c ) such that all edges of each BC-subtree are only in G 2 ;
(iii)
T 3 is the set of BC-subtrees in S B C ( G ; c ) such that edges of each BC-subtree are in both G 1 and G 2 .
It is easy to see that the BC-subtree generating function of T 1 and T 2 are
F B C ( G 1 ; f , g ; c )
and
F B C ( G 2 ; f , g ; c ) .
Next, note that
T 3 = T 3 1 T 3 2
where
(a)
T 3 1 = { T 1 T 2 | T 1 S ( G 1 ; c , odd ) , T 2 S ( G 2 ; c , odd ) } , where T 1 T 2 are the trees obtained from T 1 and T 2 by identifying the vertex c;
(b)
T 3 2 = { T 3 T 4 | T 3 S ( G 1 ; c , even ) \ c , T 4 S ( G 2 ; c , even ) \ c } , where T 3 T 4 are the trees obtained from T 3 and T 4 by identifying their vertex c.
From these cases we can obtain the BC-subtree generating function of BC-subtree in T 3 as
1 ( 1 + f o ( c ) ) i = 1 2 F ( G i ; f , g ; c , odd ) + 1 f e ( c ) i = 1 2 ( F ( G i ; f , g ; c , even ) f e ( c ) )
The theorem thus follows. □
Through similar analysis we can also obtain the odd and even generating functions of S ( G ; c ) . We skip the technical details.
Theorem 4.
Let graph G = ( V ( G ) , E ( G ) ; f , g ) be obtained from G 1 and G 2 with the unique common vertex c (see Figure 1), with the vertex weight function f ( v ) = ( f o ( v ) , f e ( v ) ) for v V ( G ) and the edge weight function g ( e ) = z for e E ( G ) . Then
F ( G ; f , g ; c , o d d ) = F ( G 1 ; f , g ; c , o d d ) + F ( G 2 ; f , g ; c , odd ) + 1 ( 1 + f o ( c ) ) i = 1 2 F ( G i ; f , g ; c , odd )
and
F ( G ; f , g ; c , e v e n ) = 1 f e ( c ) i = 1 2 F ( G i ; f , g ; c , even ) .
If the vertex weight function f ( v ) = ( 0 , y ) for v V ( G ) , then we have
F ( G ; f , g ; c , o d d ) = F ( G 1 ; f , g ; c , o d d ) + F ( G 2 ; f , g ; c , odd ) + i = 1 2 F ( G i ; f , g ; c , odd )
and
F ( G ; f , g ; c , e v e n ) = 1 y i = 1 2 F ( G i ; f , g ; c , even ) .

2.4. Further Definitions

We now introduce the graph structures under consideration in this paper.
Recall that K 1 , n is a star on n + 1 vertices, P n is a path on n vertices, and C n is a cycle on n vertices. A fan graph, denoted by F n + 1 , is a graph formed by adding an additional vertex adjacent to every vertex of P n . A wheel graph W n + 1 is a graph formed from a cycle C n by adding a vertex adjacent to every vertex of C n .
Assume G 1 and G 2 are two disjoint graphs, a graph G = G 1 + G 2 is called the disjoint union of G 1 and G 2 , if V ( G ) = V ( G 1 ) V ( G 2 ) and E ( G ) = E ( G 1 ) E ( G 2 ) . Moreover, let the product G 1 × G 2 denote the graph obtained from G 1 + G 2 by adding edges ( a , b ) with a V ( G 1 ) and b V ( G 2 ) . In the specifal case when G 2 is a single vertex c, we write G 1 × G 2 as G 1 × c .
Definition 1.
Let P l i ( l i 1 , and l i l j , if 1 i j k ) ( i = 1 , 2 , , k ) be k distinct paths on l i vertices, and each P l i has n i copies with i = 1 k n i l i = n , then, the graph
( n 1 P l 1 + n 2 P l 2 + + n k P l k ) × c 0
is called a multi-fan graph, where n 1 P l 1 + n 2 P l 2 + + n k P l k is the disjoint union of i = 1 k n i paths ( n i is the number of paths of length l i 1 ) and c 0 is the center vertex (see Figure 2).
Clearly, in the case of k = 1 and n 1 = 1 , the multi-fan graph is just the fan graph F n + 1 . For convenience we call the subgraph P l i × c 0 ( i = 1 , 2 , , k ) of multi-fan graph ( n 1 P l 1 + n 2 P l 2 + + n k P l k ) × c 0 the sub-fan graph F l i + 1 . It is easy to see that the fan graph F 1 is the single vertex c 0 for the case l i = 0 , and F 2 is an edge for the case l i = 1 .
Definition 2.
Let C l i ( l i 3 , and l i l j , if 1 i j k ) ( i = 1 , 2 , , k ) be k distinct cycles on l i vertices. Suppose each C l i has n i copies with i = 1 k n i l i = n . Then, the graph
( n 1 C l 1 + n 2 C l 2 + + n k C l k ) × c 0
is called a multi-wheel graph, where n 1 C l 1 + n 2 C l 2 + + n k C l k is the disjoint union of i = 1 k n i cycles ( n i is the number of cycles of length l i ) and c 0 is the center vertex.
Clearly, in the case of k = 1 and n 1 = 1 , the multi-wheel graph is just the wheel graph W n + 1 . Similarly, we call the subgraph C l i × c 0 ( i = 1 , 2 , , k ) of multi-wheel graph ( n 1 C l 1 + n 2 C l 2 + + n k C l k ) × c 0 the sub-wheel graph W l i + 1 .
Definition 3.
Let G = ( n 1 P l 1 + n 2 P l 2 + + n k P l k ) × c 0 be the multi-fan graph with i = 1 k n i l i = n . Then we also call G the r ( 1 r n , r is an integer ) multi-fan graph, and is denoted by F n + 1 r .
If ( n mod r ) 0 , then let k = 2 , l 1 = r , n 1 = n r , l 2 = 1 , n 2 = ( n mod r ) , and we call F n + 1 r the r quasi-regular multi-fan graph.
Otherwise, let k = 1 , l 1 = r , n 1 = n r , and we call F n + 1 r the r regular multi-fan graph.

3. BC-Subtree Generating Functions of Multi-Fan Graphs

We now move on to study the BC-subtree generating functions. First we consider the multi-fan graphs in this section.
Theorem 5.
Let G = ( n 1 P l 1 + n 2 P l 2 + + n k P l k ) × c 0 be a multi-fan graph with center vertex c 0 , the vertex weight function f ( v ) = ( 0 , y ) for v V ( G ) and the edge weight function g ( e ) = z for e E ( G ) . For convenience we denote F ( F l i + 1 ; f , g ; c 0 , odd ) by F F l i + 1 odd ( c 0 ) and F ( F l i + 1 ; f , g ; c 0 , even ) by F F l i + 1 even ( c 0 ) . Then
F B C ( G ; f , g ) = i = 1 k 1 ( 1 + F F l i + 1 odd ( c 0 ) ) n i 1 t = 1 k i i + 1 r 1 < r 2 < < r t k s = 1 t ( 1 + F F l r s + 1 odd ( c 0 ) ) n r s 1 + i = 1 k 1 y 1 n i ( F F l i + 1 even ( c 0 ) ) n i y y i k s = i + 1 k y 1 n s ( F F l s + 1 even ( c 0 ) ) n s 1 + i = 1 k ( ( F F l i + 1 even ( c 0 ) y ) j = 1 n i 1 y j ( F F l i + 1 even ( c 0 ) ) j 1 + F F l i + 1 odd ( c 0 ) j = 1 n i 1 [ ( 1 + F F l i + 1 odd ( c 0 ) ) j 1 ] + n i F B C ( F l i + 1 ; f , g ; c 0 ) ) + i = 1 k j = 1 l i 2 1 n i ( l i 2 j ) y j + 1 z 2 j ;
and
F B C ( F l i + 1 ; f , g ; c 0 ) = F B C ( F l i ; f , g ; c 0 ) + s = 0 l i 1 2 y s + 1 z 2 s + 1 F F l i 2 s odd ( c 0 ) + p = 1 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p F F l i 2 p 2 q + 2 odd ( c 0 ) + p = 1 l i 2 q = 1 l i + 1 2 p z 2 p + 2 q 1 y q + p F F l i 2 p 2 q + 2 even ( c 0 ) + 2 p = 1 l i 2 z 2 p y p F F l i 2 p + 1 even ( c 0 )
with
F F l i + 1 odd ( c 0 ) = y z + ( y z + 1 ) F F l i odd ( c 0 ) + k = 1 l i 2 1 y k + 1 z 2 k + 1 ( 1 + F F l i 2 k odd ( c 0 ) ) + p = 1 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p ( 1 + F F l i 2 p 2 q + 2 odd ( c 0 ) ) ,
F F l i + 1 even ( c 0 ) = p = 1 l i 2 z 2 p y p F F l i 2 p + 1 even ( c 0 ) + q = 1 l i + 1 2 p z 2 q 1 y q F F l i 2 p 2 q + 2 even ( c 0 ) + k = 1 l i 2 y k z 2 k F F l i 2 k + 1 even ( c 0 ) + F F l i even ( c 0 ) ,
and F B C ( F 2 ; f , g ; c 0 ) = 0 , F F 1 odd ( c 0 ) = 0 , F F 1 even ( c 0 ) = y .
Proof. 
First we consider two cases for the BC-subtrees of multi-fan graph G = ( n 1 P l 1 + n 2 P l 2 + + n k P l k ) × c 0 :
(i)
ones not containing the center c 0 ;
(ii)
ones containing the center c 0 .
With Lemma 2, we have the BC-subtree generating function of case (i) as
i = 1 k ( n i j = 1 l i 2 1 ( l i 2 j ) y 2 z 2 ( y z 2 ) j 1 ) .
With slightly more complicated structure analysis, Theorems 3 and 4, we have the BC-subtree generating function of case (ii) as
i = 1 k 1 F ( ( n i P l i ) × c 0 ; f , g ; c 0 , odd ) t = 1 k i i + 1 r 1 < r 2 < < r t k s = 1 t F ( ( n r s P l r s ) × c 0 ; f , g ; c 0 , odd ) + i = 1 k 1 F ( ( n i P l i ) × c 0 ; f , g ; c 0 , even ) y y i k s = i + 1 k F ( ( n s P l s ) × c 0 ; f , g ; c 0 , even ) 1 + i = 1 k F B C ( ( n i P l i ) × c 0 ; f , g ; c 0 ) .
Similarly, the odd and even generating functions, the BC-subtree generating functions of multi-fan graph ( n i P l i ) × c 0 ( i = 1 , 2 , , k ) containing c 0 are, respectively,
F ( ( n i P l i ) × c 0 ; f , g ; c 0 , odd ) = ( 1 + F ( F l i + 1 ; f , g ; c 0 , odd ) ) n i 1 ,
F ( ( n i P l i ) × c 0 ; f , g ; c 0 , even ) = y 1 n i F ( F l i + 1 ; f , g ; c 0 , even ) n i ,
F B C ( ( n i P l i ) × c 0 ; f , g ; c 0 ) = F ( F l i + 1 ; f , g ; c 0 , odd ) j = 1 n i 1 [ ( 1 + F ( F l i + 1 ; f , g ; c 0 , odd ) ) j 1 ] + ( F ( F l i + 1 ; f , g ; c 0 , even ) y ) j = 1 n i 1 [ y j F ( F l i + 1 ; f , g ; c 0 , even ) j 1 ] + n i F B C ( F l i + 1 ; f , g ; c 0 ) .
We now label the non-center vertices of the sub-fan graph F l i + 1 = P l i × c 0 ( i = 1 , 2 , , k ) as c 1 , c 2 , , c l i in counterclockwise order. In what follows, we further focus on computing the odd and even generating functions, and the BC-subtree generating functions of F l i + 1 ( i = 1 , 2 , , k ) containing c 0 .
Let e i = ( c 0 , c l i ) , then we have
S ( F l i + 1 ; c 0 ) = S 1 S 2 S 3 S 4
and
S B C ( F l i + 1 ; c 0 ) = S 1 * S 2 * S 3 * S 4 *
where
  • S 1 (resp. S 1 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 , but not ( c 0 , c l i ) or ( c l i 1 , c l i ) ;
  • S 2 (resp. S 2 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 , ( c 0 , c l i ) , but not ( c l i 1 , c l i ) ;
  • S 3 (resp. S 3 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 , ( c l i 1 , c l i ) , but not ( c 0 , c l i ) ;
  • S 4 (resp. S 4 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 , ( c 0 , c l i ) and ( c l i 1 , c l i ) .
We now study each case:
(a)
S 1 = S ( F l i ; c 0 ) ;
(b)
S 2 = { T 1 + e i | T 1 S 1 } , where T 1 + e i is the tree obtained from T 1 , by attaching an edge e i at vertex c 0 ;
(c)
The set S 3 can be written as
S 3 = { T + ( c 0 , c l i k ) + h = 2 k r ( c l i k h + 1 , c l i k h + 2 ) | T S ( F l i k r + 1 ; c 0 ) } ,
where k = 1 , 2 , , l i 1 , r = 1 , 2 , , l i k ;
(d)
Evidently, each T 4 S 4 must not contain the edge ( c 0 , c l i 1 ) . We further consider these subtrees by cases of containing edges ( c 0 , c l i ) r = 1 k ( c l i r , c l i r + 1 ) but not ( c l i k 1 , c l i k ) , for k = 1 , 2 , , l i 1 , which can be rewritten as:
S 4 = { T + ( c 0 , c l i ) + h = 1 k ( c l i h , c l i h + 1 ) | T S ( F l i k ; c 0 ) }
where k = 1 , 2 , , l i 1 . Note that S ( F 1 ; c 0 ) is the single vertex c 0 .
By the definitions of ω v o weight, ω v e weight, odd, even generating function of subtrees containing a fixed vertex, (a)–(d), and Theorem 1, we have the followings.
T 1 S 1 ω v o ( T 1 ) = F ( F l i ; f , g ; c 0 , odd ) ,
T 1 S 1 ω v e ( T 1 ) = F ( F l i ; f , g ; c 0 , even ) ,
T 2 S 2 ω v o ( T 2 ) = ( 1 + T 1 S 1 ω v o ( T 1 ) ) f e ( c l i ) g ( e i ) = y z 1 + F ( F l i ; f , g ; c 0 , odd ) ,
T 2 S 2 ω v e ( T 2 ) = F ( F l i ; f , g ; c 0 , even ) f o ( c l i ) g ( e i ) = 0 ,
T 3 S 3 ω v o ( T 3 ) = k = 1 l i 1 [ f e ( c l i k ) f o ( c l i ) 1 ( 1 ) k 2 s = 1 k 1 2 ( ( 1 + f o ( c l i k + 2 s 1 ) ) f e ( c l i k + 2 s ) ) s = 0 k 1 g ( ( c l i k + s , c l i k + s + 1 ) ) ] [ r = 1 l i k ( s = 1 r 1 g ( ( c l i k s , c l i k s + 1 ) ) s = 1 r 1 2 ( ( 1 + f o ( c l i k 2 s + 1 ) ) f e ( c l i k 2 s ) ) f o ( c l i k r + 1 ) 1 + ( 1 ) r 2 ) g ( ( c 0 , c l i k ) ) 1 + F ( F l i k r + 1 ; f , g ; c 0 , odd ) ] = p = 1 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p 1 + F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , odd ) ,
T 3 S 3 ω v e ( T 3 ) = k = 1 l i 1 g ( ( c 0 , c l i k ) ) [ f o ( c l i ) 1 + ( 1 ) k 2 s = 0 k 1 2 ( ( 1 + f o ( c l i k + 2 s ) ) f e ( c l i k + 2 s + 1 ) ) s = 0 k 1 g ( ( c l i k + s , c l i k + s + 1 ) ) ] [ F ( F l i k ; f , g ; c 0 , even ) + f e ( c l i k 1 ) r = 2 l i k F ( F l i k r + 1 ; f , g ; c 0 , even ) f o ( c l i k r + 1 ) 1 ( 1 ) r 2 s = 1 r 1 g ( ( c l i k s , c l i k s + 1 ) ) s = 1 r 2 2 ( 1 + f o ( c l i k 2 s ) ) f e ( c l i k 2 s 1 ) ] = p = 1 l i 2 z 2 p y p F ( F l i 2 p + 1 ; f , g ; c 0 , even ) + q = 1 l i + 1 2 p z 2 q 1 y q F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , even ) ,
T 4 S 4 ω v o ( T 4 ) = f e ( c l i ) g ( e i ) k = 1 l i 2 [ f o ( c l i 2 k + 1 ) r = 1 k 1 ( 1 + f o ( c l i 2 r + 1 ) ) f e ( c l i 2 r ) t = 1 2 k 1 g ( ( c l i t , c l i t + 1 ) ) ] 1 + F ( F l i 2 k + 1 ; f , g ; c 0 , odd ) + k = 1 l i 2 1 r = 1 k ( 1 + f o ( c l i 2 r + 1 ) ) f e ( c l i 2 r ) t = 1 2 k g ( ( c l i t , c l i t + 1 ) ) f e ( c l i ) g ( e i ) 1 + F ( F l i 2 k ; f , g ; c 0 , odd ) = k = 1 l i 2 1 y k + 1 z 2 k + 1 1 + F ( F l i 2 k ; f , g ; c 0 , odd ) ,
T 4 S 4 ω v e ( T 4 ) = g ( e i ) k = 1 l i 2 1 [ f o ( c l i 2 k ) r = 1 k ( 1 + f o ( c l i 2 r + 2 ) ) f e ( c l i 2 r + 1 ) t = 1 2 k g ( ( c l i t , c l i t + 1 ) ) ] F ( F l i 2 k ; f , g ; c 0 , even ) + g ( e i ) k = 1 l i 2 r = 1 k ( ( 1 + f o ( c l i 2 r + 2 ) ) f e ( c l i 2 r + 1 ) ) t = 1 2 k 1 g ( ( c l i t , c l i t + 1 ) ) F ( F l i 2 k + 1 ; f , g ; c 0 , even ) = k = 1 l i 2 y k z 2 k F ( F l i 2 k + 1 ; f , g ; c 0 , even ) ,
with F ( F 1 ; f , g ; c 0 , odd ) = 0 , F ( F 1 ; f , g ; c 0 , even ) = y .
Hence, by Equations (21)–(28) we have
F ( F l i + 1 ; f , g ; c 0 , odd ) = T 1 S 1 ω v o ( T 1 ) + T 2 S 2 ω v o ( T 2 ) + T 3 S 3 ω v o ( T 3 ) + T 4 S 4 ω v o ( T 4 ) = p = 1 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p 1 + F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , odd ) + k = 1 l i 2 1 y k + 1 z 2 k + 1 1 + F ( F l i 2 k ; f , g ; c 0 , odd ) + ( y z + 1 ) F ( F l i ; f , g ; c 0 , odd ) + y z ,
and
F ( F l i + 1 ; f , g ; c 0 , even ) = T 1 S 1 ω v e ( T 1 ) + T 2 S 2 ω v e ( T 2 ) + T 3 S 3 ω v e ( T 3 ) + T 4 S 4 ω v e ( T 4 ) = p = 1 l i 2 z 2 p y p ( F ( F l i 2 p + 1 ; f , g ; c 0 , even ) + q = 1 l i + 1 2 p z 2 q 1 y q F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , even ) ) + k = 1 l i 2 y k z 2 k F ( F l i 2 k + 1 ; f , g ; c 0 , even ) + F ( F l i ; f , g ; c 0 , even )
with F ( F 1 ; f , g ; c 0 , odd ) = 0 , F ( F 1 ; f , g ; c 0 , even ) = y .
Similarly for the BC-subtrees, through case analysis of BC-subtree generating function, BC-weight ω b c ( T ) of T S B C ( G ) , and by Theorem 2, we have
T 1 * S 1 * ω b c ( T 1 * ) = F B C ( F l i ; f , g ; c 0 ) ,
T 2 * S 2 * ω b c ( T 2 * ) = y z F ( F l i ; f , g ; c 0 , odd ) ,
T 3 * S 3 * ω b c ( T 3 * ) = p = 1 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , odd ) + p = 1 l i 2 q = 1 l i + 1 2 p z 2 p + 2 q 1 y q + p F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , even ) + p = 1 l i 2 z 2 p y p F ( F l i 2 p + 1 ; f , g ; c 0 , even ) ,
and
T 4 * S 4 * ω b c ( T 4 * ) = s = 1 l i 1 2 y s + 1 z 2 s + 1 F ( F l i 2 s ; f , g ; c 0 , odd ) + s = 1 l i 1 2 y s z 2 s F ( F l i 2 s + 1 ; f , g ; c 0 , even ) ,
Combining the Equations (31)–(34), we have
F B C ( F l i + 1 ; f , g ; c 0 ) = T 1 * S 1 * ω v e ( T 1 * ) + T 2 * S 2 * ω v e ( T 2 * ) + T 3 * S 3 * ω v e ( T 3 * ) + T 4 * S 4 * ω v e ( T 4 * ) = F B C ( F l i ; f , g ; c 0 ) + s = 0 l i 1 2 y s + 1 z 2 s + 1 F ( F l i 2 s ; f , g ; c 0 , odd ) + p = 1 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , odd ) + p = 1 l i 2 q = 1 l i + 1 2 p z 2 p + 2 q 1 y q + p F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , even ) + 2 p = 1 l i 2 z 2 p y p F ( F l i 2 p + 1 ; f , g ; c 0 , even )
with F B C ( F 2 ; f , g ; c 0 ) = 0 , F ( F l i + 1 ; f , g ; c 0 , odd ) , F ( F l i + 1 ; f , g ; c 0 , even ) given in Equations (29) and (30), respectively, and F ( F 1 ; f , g ; c 0 , odd ) = 0 , F ( F 1 ; f , g ; c 0 , even ) = y .
Combining Equations (16)–(20), (29), (30), and (35), we have the BC-subtree generating function of multi-fan graph G = ( n 1 P l 1 + n 2 P l 2 + + n k P l k ) × c 0 as claimed in (12). □
Next we consider the BC-subtree generating function of some special cases of multi-fan graphs. First of all the BC-subtree generating function of the r multi-fan graph F n + 1 r ( 1 r n , r is an integer ) follows from Theorem 5.
Theorem 6.
Let F n + 1 r ( 1 r n is a positive integer) be the r multi-fan graph defined in Definition 3 with vertex weight function f ( v ) = ( 0 , y ) for v V ( F n + 1 r ) and the edge weight function g ( e ) = z for e E ( F n + 1 r ) , then
F B C ( F n + 1 r ; f , g ) = n r F B C ( F r + 1 ; f , g ; c 0 ) F F r + 1 odd ( c 0 ) F F r + 1 even ( c 0 ) + j = 1 r 2 1 ( r 2 j ) y j + 1 z 2 j + ( 1 + y z ) n r n r ( 1 + F F r + 1 odd ( c 0 ) ) n r + y 1 n r ( F F r + 1 even ( c 0 ) ) n r ( n r n r ) y z + ( n r 1 ) y 1
with
F B C ( F r + 1 ; f , g ; c 0 ) = F B C ( F r ; f , g ; c 0 ) + s = 0 r 1 2 y s + 1 z 2 s + 1 F F r 2 s odd ( c 0 ) + p = 1 r 1 2 q = 1 r 2 p 2 z 2 p + 2 q 1 y q + p F F r 2 p 2 q + 2 odd ( c 0 ) + p = 1 r 2 q = 1 r + 1 2 p z 2 p + 2 q 1 y q + p F F r 2 p 2 q + 2 even ( c 0 ) + 2 p = 1 r 2 z 2 p y p F F r 2 p + 1 even ( c 0 ) ,
F F r + 1 odd ( c 0 ) = y z + ( y z + 1 ) F F r odd ( c 0 ) + k = 1 r 2 1 y k + 1 z 2 k + 1 ( 1 + F F r 2 k odd ( c 0 ) ) + p = 1 r 1 2 q = 1 r 2 p 2 z 2 p + 2 q 1 y q + p ( 1 + F r 2 p 2 q + 2 odd ( c 0 ) ) ,
F F r + 1 even ( c 0 ) = p = 1 r 2 z 2 p y p F F r 2 p + 1 even ( c 0 ) + q = 1 r + 1 2 p z 2 q 1 y q F F r 2 p 2 q + 2 even ( c 0 ) + k = 1 r 2 y k z 2 k F F r 2 k + 1 even ( c 0 ) + F F r even ( c 0 ) ,
and F B C ( F 2 ; f , g ; c 0 ) = 0 , F F 1 odd ( c 0 ) = 0 , F F 1 even ( c 0 ) = y .
Letting y = z = 1 in the above statements we immediately have the following two consequences.
Corollary 1.
Let G = ( n 1 P l 1 + n 2 P l 2 + + n k P l k ) × c 0 be a multi-fan graph, then the BC-subtree number of G is
η B C ( G ) = i = 1 k 1 ( 1 + a ( l i + 1 ) ) n i 1 t = 1 k i i + 1 r 1 < r 2 < < r t k s = 1 t ( 1 + a ( l r s + 1 ) ) n r s 1 + i = 1 k 1 b ( l i + 1 ) n i 1 s = i + 1 k b ( l s + 1 ) n s 1 + i = 1 k ( ( b ( l i + 1 ) 1 ) j = 1 n i 1 [ b ( l i + 1 ) j 1 ] + a ( l i + 1 ) j = 1 n i 1 [ ( 1 + a ( l i + 1 ) ) j 1 ] + n i η B C ( F l i + 1 ; c 0 ) ) + i = 1 k j = 1 l i 2 1 n i ( l i 2 j )
with
η B C ( F l i + 1 ; c 0 ) = η B C ( F l i ; c 0 ) + p = 1 l i 1 2 q = 1 l i 2 p 2 a ( l i 2 p 2 q + 2 ) + s = 0 l i 1 2 a ( l i 2 s ) + p = 1 l i 2 q = 1 l i + 1 2 p b ( l i 2 p 2 q + 2 ) + 2 p = 1 l i 2 b ( l i 2 p + 1 ) ,
a ( l i + 1 ) = 1 + 2 a l i + k = 1 l i 2 1 1 + a ( l i 2 k ) + p = 1 l i 1 2 q = 1 l i 2 p 2 1 + a ( l i 2 p 2 q + 2 ) ,
and
b ( l i + 1 ) = p = 1 l i 2 ( b ( l i 2 p + 1 ) + q = 1 l i + 1 2 p b ( l i 2 p 2 q + 2 ) ) + k = 1 l i 2 b ( l i 2 k + 1 ) + b l i ,
and η B C ( F 2 ; c 0 ) = 0 , a 1 = 0 , b 1 = 1 .
Corollary 2.
The BC-subtree number of the r multi-fan graph F n + 1 r (see Definition 3), the fan graph F r + 1 ( r 1 ), and the fan graph F r + 1 ( r 1 ) containing c 0 are, respectively, the following:
η B C ( F n + 1 r ) = n r ( η B C ( F r + 1 ; c 0 ) a r + 1 b r + 1 ) + 2 n r n r 1 + a r + 1 n r + b r + 1 n r + n r ( r r 2 ) ( r 2 1 ) + r + 1 n 2 ,
η B C ( F r + 1 ) = η B C ( F r + 1 ; c 0 ) + ( r r 2 ) ( r 2 1 ) ,
η B C ( F r + 1 ; c 0 ) = η B C ( F r ; c 0 ) + p = 1 r 1 2 q = 1 r 2 p 2 a ( r 2 p 2 q + 2 ) + s = 0 r 1 2 a ( r 2 s ) + p = 1 r 2 q = 1 r + 1 2 p b ( r 2 p 2 q + 2 ) + 2 p = 1 r 2 b ( r 2 p + 1 ) ,
with
a r + 1 = 1 + 2 a r + k = 1 r 2 1 1 + a ( r 2 k ) + p = 1 r 1 2 q = 1 r 2 p 2 1 + a ( r 2 p 2 q + 2 ) ,
b r + 1 = p = 1 r 2 ( b ( r 2 p + 1 ) + q = 1 r + 1 2 p b ( r 2 p 2 q + 2 ) ) + k = 1 r 2 b ( r 2 k + 1 ) + b r ,
η B C ( F 2 ; c 0 ) = 0 , a 1 = 0 , b 1 = 1 .
Remark 1.
From Corollary 2 we have η B C ( F n + 1 1 ) = 2 n n 1 for the case of 1 multi-fan graph (i.e., the star K 1 , n ), agreeing with Lemma 3.

4. BC-Subtree Generating Functions of Multi-Wheel Graphs

We now study the BC-subtree generating functions of the multi-wheel graphs (Definition 2).
Theorem 7.
Let G = ( n 1 C l 1 + n 2 C l 2 + + n k C l k ) × c 0 be a multi-wheel graph with center vertex c 0 , the vertex weight function f ( v ) = ( 0 , y ) for v V ( G ) and the edge weight function g ( e ) = z for e E ( G ) . Let F ( W l i + 1 ; f , g ; c 0 , odd ) be denoted by F W l i + 1 odd ( c 0 ) , F ( W l i + 1 ; f , g ; c 0 , even ) by F W l i + 1 even ( c 0 ) , F ( F l i + 1 ; f , g ; c 0 , odd ) by F F l i + 1 odd ( c 0 ) and F ( F l i + 1 ; f , g ; c 0 , even ) by F F l i + 1 even ( c 0 ) . Then
F B C ( G ; f , g ) = i = 1 k 1 ( 1 + F W l i + 1 odd ( c 0 ) ) n i 1 t = 1 k i i + 1 r 1 < r 2 < < r t k s = 1 t ( 1 + F W l r s + 1 odd ( c 0 ) ) n r s 1 + i = 1 k 1 y 1 n i ( F W l i + 1 even ( c 0 ) ) n i y y i k s = i + 1 k y 1 n s ( F W l s + 1 even ( c 0 ) ) n s 1 + i = 1 k ( ( F W l i + 1 even ( c 0 ) y ) j = 1 n i 1 [ y j ( F W l i + 1 even ( c 0 ) ) j 1 ] + F W l i + 1 odd ( c 0 ) j = 1 n i 1 [ ( 1 + F W l i + 1 odd ( c 0 ) ) j 1 ] + n i F B C ( W l i + 1 ; f , g ; c 0 ) ) + i = 1 k j = 1 l i 2 1 n i l i y j + 1 z 2 j
with
F W l i + 1 odd ( c 0 ) = 2 k = 0 l i 2 p = k + 1 2 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p ( 1 + F F l i 2 p 2 q + 2 odd ( c 0 ) ) + p = 1 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p ( 1 + F F l i 2 p 2 q + 2 odd ( c 0 ) ) + k = 1 l i 2 1 y k + 1 z 2 k + 1 ( 1 + F F l i 2 k odd ( c 0 ) ) + ( y z + 1 ) F F l i odd ( c 0 ) + y z ,
F W l i + 1 even ( c 0 ) = 2 k = 0 l i 2 p = k + 3 2 l i 2 z 2 p y p F F l i 2 p + 1 even ( c 0 ) + q = 1 l i + 1 2 p z 2 q 1 y q F F l i 2 p 2 q + 2 even ( c 0 ) + p = 1 l i 2 z 2 p y p F F l i 2 p + 1 even ( c 0 ) + q = 1 l i + 1 2 p z 2 q 1 y q F F l i 2 p 2 q + 2 even ( c 0 ) + k = 1 l i 2 y k z 2 k F F l i 2 k + 1 even ( c 0 ) + F F l i even ( c 0 )
and
F B C ( W l i + 1 ; f , g ; c 0 ) = 2 k = 0 l i 2 [ p = k + 1 2 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p F F l i 2 p 2 q + 2 odd ( c 0 ) + p = k + 3 2 l i 2 q = 1 l i + 1 2 p z 2 p + 2 q 1 y q + p F F l i 2 p 2 q + 2 even ( c 0 ) + p = k + 3 2 l i 2 z 2 p y p F F l i 2 p + 1 even ( c 0 ) ] + F B C ( F l i + 1 ; f , g ; c 0 )
with F B C ( F l i + 1 ; f , g ; c 0 ) , F F l i + 1 odd ( c 0 ) , F F l i + 1 even ( c 0 ) as in Equations (13)–(15), respectively, and F B C ( F 2 ; f , g ; c 0 ) = 0 , F F 1 odd ( c 0 ) = 0 , F F 1 even ( c 0 ) = y .
Proof. 
Firstly, consider the BC-subtrees of multi-wheel graph G = ( n 1 C l 1 + n 2 C l 2 + + n k C l k ) × c 0 in two cases:
(i)
ones not containing the center c 0 ;
(ii)
ones containing the center c 0 .
From Lemma 4, we have the BC-subtree generating function for case (i) as
i = 1 k ( n i j = 1 l i 2 1 l i y 2 z 2 ( y z 2 ) j 1 ) .
Similar to the previous section, we have the BC-subtree generating function of case (ii) as
i = 1 k 1 F ( ( n i C l i ) × c 0 ; f , g ; c 0 , odd ) t = 1 k i i + 1 r 1 < r 2 < < r t k s = 1 t F ( ( n r s C l r s ) × c 0 ; f , g ; c 0 , odd ) + i = 1 k 1 F ( ( n i C l i ) × c 0 ; f , g ; c 0 , even ) y y i k s = i + 1 k F ( ( n s C l s ) × c 0 ; f , g ; c 0 , even ) 1 + i = 1 k F B C ( ( n i C l i ) × c 0 ; f , g ; c 0 )
where
F ( ( n i C l i ) × c 0 ; f , g ; c 0 , odd ) = ( 1 + F ( W l i + 1 ; f , g ; c 0 , odd ) ) n i 1 ,
F ( ( n i C l i ) × c 0 ; f , g ; c 0 , even ) = y 1 n i F ( W l i + 1 ; f , g ; c 0 , even ) n i ,
F B C ( ( n i C l i ) × c 0 ; f , g ; c 0 ) = F ( W l i + 1 ; f , g ; c 0 , odd ) j = 1 n i 1 [ ( 1 + F ( W l i + 1 ; f , g ; c 0 , odd ) ) j 1 ] + ( F ( W l i + 1 ; f , g ; c 0 , even ) y ) j = 1 n i 1 [ y j F ( W l i + 1 ; f , g ; c 0 , even ) j 1 ] + n i F B C ( W l i + 1 ; f , g ; c 0 ) .
Now label the l i non-center vertices of wheel graph W l i + 1 = C l i × c 0 ( i = 1 , 2 , , k ) with c 1 , c 2 , , c l i . For convenience we let e t = ( c 0 , c t ) ( t = 1 , 2 , , l i ), e l i * = ( c 1 , c l i ) and e l i r * = ( c l i r , c l i r + 1 ) ( r = 1 , 2 , , l i 1 ). We partition the set of S ( W l i + 1 ; c 0 ) and S B C ( W l i + 1 ; c 0 ) into five cases:
S ( W l i + 1 ; c 0 ) = S ¯ 1 S ¯ 2 S ¯ 3 S ¯ 4 S ¯ 5
S B C ( W l i + 1 ; c 0 ) = S ¯ 1 * S ¯ 2 * S ¯ 3 * S ¯ 4 * S ¯ 5 *
where
  • S ¯ 1 (resp. S ¯ 1 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 , but not ( c 1 , c l i ) ;
  • S ¯ 2 (resp. S ¯ 2 * ) is the set of subtrees (resp. BC-subtrees) that contains c 0 and ( c 1 , c l i ) , but neither ( c 0 , c l i ) nor ( c l i 1 , c l i ) ;
  • S ¯ 3 (resp. S ¯ 3 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 , ( c 0 , c l i ) and ( c 1 , c l i ) , but not ( c l i 1 , c l i ) ;
  • S ¯ 4 (resp. S ¯ 4 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 , ( c 0 , c l i ) , ( c l i 1 , c l i ) and ( c 1 , c l i ) ;
  • S ¯ 5 (resp. S ¯ 5 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 , ( c l i 1 , c l i ) and ( c 1 , c l i ) , but not ( c 0 , c l i ) .
Studying each cases, we have:
(a) S ¯ 1 = S ( F l i + 1 ; c 0 ) ;
(b) S ¯ 2 = S ( W l i + 1 \ ( e l i 1 * e l i ) ; e l i * ) . Note that W l i + 1 \ e l i 1 * F l i + 1 , thus we have S ¯ 2 S 3 , where S 3 = S ( F l i + 1 ; c 0 ) ;
(c) S ¯ 3 = S ( W l i + 1 \ e l i 1 * ; e l i e l i * ) . Similarly, S ¯ 3 S 4 , where S 4 = S ( F l i + 1 ; c 0 ) ;
(d) We can further divide the subtree set S ¯ 4 into cases of subtrees containing edge set { e l i , r = 0 k e l i r * } , but not { e l i k 1 * , r = 1 k e l i r } (recursively for k = 1 , 2 , , l i 2 ). That is,
S ¯ 4 = { T | T S ( W l i + 1 \ ( e l i k 1 * r = 1 k e l i r ) ; e l i r = 0 k e l i r * ) } ;
where k = 1 , 2 , , l i 2 ;
(e) S ¯ 5 is the subtree set of S ( W l i + 1 \ e l i ; c 0 r = 0 1 e l i r * ) . Denote by W ˜ l i + 1 l i k ( k = 0 , 1 , , l i 2 ) the graph after removing edge set r = 1 k e l i r + 1 from W l i + 1 . Thus W ˜ l i + 1 l i k = W l i + 1 \ r = 1 k e l i r + 1 and evidently W ˜ l i + 1 l i = W l i + 1 ,
Similar to the previous case, we partition the set of S ( W ˜ l i + 1 l i k ; c 0 r = 0 k e l i r * ) and S B C ( W ˜ l i + 1 l i k ; c 0 r = 0 k e l i r * ) into four cases:
S ( W ˜ l i + 1 l i k ; c 0 r = 0 k e l i r * ) = S ¯ l i k , 1 S ¯ l i k , 2 S ¯ l i k , 3 S ¯ l i k , 4
S B C ( W ˜ l i + 1 l i k ; c 0 r = 0 k e l i r * ) = S ¯ l i k , 1 * S ¯ l i k , 2 * S ¯ l i k , 3 * S ¯ l i k , 4 *
where
  • S ¯ l i k , 1 (resp. S ¯ l i k , 1 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 r = 0 k e l i r * , but not e l i k or e l i k 1 * ;
  • S ¯ l i k , 2 (resp. S ¯ l i k , 2 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 r = 0 k e l i r * and e l i k , but not e l i k 1 * ;
  • S ¯ l i k , 3 (resp. S ¯ l i k , 3 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 r = 0 k e l i r * , e l i k and e l i k 1 * ;
  • S ¯ l i k , 4 (resp. S ¯ l i k , 4 * ) is the set of subtrees (resp. BC-subtrees) that contain c 0 r = 0 k e l i r * and e l i k 1 * , but not e l i k .
Again, we have that W ˜ l i + 1 l i k \ ( e l i k e l i k 1 * ) ( k = 0 , 1 , , l i 2 ) is the graph obtained from W l i + 1 after removing edge set { e l i k 1 * , r = 1 k + 1 e l i r + 1 } . Clearly, W ˜ l i + 1 l i k \ ( e l i k e l i k 1 * ) F l i + 1 \ r = 0 k ( c 0 , c l i r ) .
We also have
T 2 S ¯ l i k , 2 ω v o ( T 2 ) + T 3 S ¯ l i k , 3 ω v o ( T 3 ) = T 1 S ¯ l i k , 1 ω v o ( T 1 ) ,
T 2 S ¯ l i k , 2 ω v e ( T 2 ) + T 3 S ¯ l i k , 3 ω v e ( T 3 ) = T 1 S ¯ l i k , 1 ω v e ( T 1 ) ,
and
T S ( W ˜ l i + 1 l i k ; c 0 r = 0 k e l i r * ) ω v o ( T ) = 2 T 1 S ¯ l i k , 1 ω v o ( T 1 ) + T S ( W ˜ l i + 1 l i ( k + 1 ) ; c 0 r = 0 k + 1 e l i r * ) ω v o ( T ) ,
T S ( W ˜ l i + 1 l i k ; c 0 r = 0 k e l i r * ) ω v e ( T ) = 2 T 1 S ¯ l i k , 1 ω v e ( T 1 ) + T S ( W ˜ l i + 1 l i ( k + 1 ) ; c 0 r = 0 k + 1 e l i r * ) ω v e ( T ) ,
From the cases (a)–(e), Theorem 1, and by the definitions of ω v o weight, ω v e weight, odd, even generating function of subtrees containing a fixed vertex, we have
T 1 S ¯ 1 ω v o ( T 1 ) = F ( F l i + 1 ; f , g ; c 0 , odd ) ,
T 1 S ¯ 1 ω v e ( T 1 ) = F ( F l i + 1 ; f , g ; c 0 , even ) ,
T 3 S ¯ 3 ω v o ( T 3 ) + T 4 S ¯ 4 ω v o ( T 4 ) = T 2 S ¯ 2 ω v o ( T 2 ) = T S ¯ l i , 1 ω v o ( T ) ,
T S ¯ l i k , 1 ω v o ( T ) = j = k + 1 l i 1 [ f e ( c l i j ) f o ( c l i ) 1 ( 1 ) j 2 s = 1 j 1 2 ( 1 + f o ( c l i j + 2 s 1 ) ) f e ( c l i j + 2 s ) s = 0 j 1 g ( ( c l i j + s , c l i j + s + 1 ) ) ] [ r = 1 l i j ( s = 1 r 1 g ( ( c l i j s , c l i j s + 1 ) ) s = 1 r 1 2 ( 1 + f o ( c l i j 2 s + 1 ) ) f e ( c l i j 2 s ) f o ( c l i j r + 1 ) 1 + ( 1 ) r 2 ) g ( ( c 0 , c l i j ) ) 1 + F ( F l i j r + 1 ; f , g ; c 0 , odd ) ] = p = k + 1 2 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p 1 + F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , odd ) ,
where k = 0 , 1 , , l i 2 ;
T 3 S ¯ 3 ω v e ( T 3 ) + T 4 S ¯ 4 ω v e ( T 4 ) = T 2 S ¯ 2 ω v e ( T 2 ) = T S ¯ l i , 1 ω v e ( T ) ,
T S ¯ l i k , 1 ω v e ( T ) = j = k + 1 l i 1 g ( ( c 0 , c l i j ) ) [ f o ( c l i ) 1 + ( 1 ) j 2 s = 0 j 1 2 ( 1 + f o ( c l i j + 2 s ) ) f e ( c l i j + 2 s + 1 ) s = 0 j 1 g ( ( c l i j + s , c l i j + s + 1 ) ) ] [ F ( F l i j ; f , g ; c 0 , even ) + f e ( c l i j 1 ) r = 2 l i j F ( F l i j r + 1 ; f , g ; c 0 , even ) f o ( c l i j r + 1 ) 1 ( 1 ) r 2 s = 1 r 1 g ( ( c l i j s , c l i j s + 1 ) ) s = 1 r 2 2 ( 1 + f o ( c l i j 2 s ) ) f e ( c l i j 2 s 1 ) ] = p = k + 3 2 l i 2 z 2 p y p ( F ( F l i 2 p + 1 ; f , g ; c 0 , even ) + q = 1 l i + 1 2 p z 2 q 1 y q F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , even ) ) ,
where k = 0 , 1 , , l i 2 .
Thus, by Equations (29), (30) and (62)–(67) we have
F ( W l i + 1 ; f , g ; c 0 , odd ) = T 1 S ¯ 1 ω v o ( T 1 ) + T 2 S ¯ 2 ω v o ( T 2 ) + T 3 S ¯ 3 ω v o ( T 3 ) + T 4 S ¯ 4 ω v o ( T 4 ) = 2 k = 0 l i 2 p = k + 1 2 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p 1 + F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , odd ) + p = 1 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p 1 + F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , odd ) + k = 1 l i 2 1 y k + 1 z 2 k + 1 1 + F ( F l i 2 k ; f , g ; c 0 , odd ) + ( y z + 1 ) F ( F l i ; f , g ; c 0 , odd ) + y z ,
and
F ( W l i + 1 ; f , g ; c 0 , even ) = T 1 S ¯ 1 ω v e ( T 1 ) + T 2 S ¯ 2 ω v e ( T 2 ) + T 3 S ¯ 3 ω v e ( T 3 ) + T 4 S ¯ 4 ω v e ( T 4 ) = 2 k = 0 l i 2 p = k + 3 2 l i 2 z 2 p y p ( F ( F l i 2 p + 1 ; f , g ; c 0 , even ) + q = 1 l i + 1 2 p z 2 q 1 y q F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , even ) ) + p = 1 l i 2 z 2 p y p ( F ( F l i 2 p + 1 ; f , g ; c 0 , even ) + q = 1 l i + 1 2 p z 2 q 1 y q F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , even ) ) + k = 1 l i 2 y k z 2 k F ( F l i 2 k + 1 ; f , g ; c 0 , even ) + F ( F l i ; f , g ; c 0 , even )
with F ( F l i + 1 ; f , g ; c 0 , odd ) , F ( F l i + 1 ; f , g ; c 0 , even ) as in Equations (29) and (30), respectively, and F ( F 1 ; f , g ; c 0 , odd ) = 0 , F ( F 1 ; f , g ; c 0 , even ) = y .
Through similar reasoning, we have
T 1 * S ¯ 1 * ω b c ( T 1 * ) = F B C ( F l i + 1 ; f , g ; c 0 ) ,
T 3 * S ¯ 3 * ω b c ( T 3 * ) + T 4 * S ¯ 4 * ω b c ( T 4 * ) = T 2 * S ¯ 2 * ω b c ( T 2 * ) = T * S ¯ l i , 1 * ω b c ( T * ) ,
T * S ¯ l i k , 1 * ω b c ( T * ) = p = k + 1 2 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , odd ) + p = k + 3 2 l i 2 q = 1 l i + 1 2 p z 2 p + 2 q 1 y q + p F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , even ) + p = k + 3 2 l i 2 z 2 p y p F ( F l i 2 p + 1 ; f , g ; c 0 , even ) ,
where k = 0 , 1 , , l i 2 .
Combining Equations (35), (70)–(72), we have
F B C ( W l i + 1 ; f , g ; c 0 ) = j = 1 5 T j * S ¯ j * ω v e ( T j * ) = 2 k = 0 l i 2 [ p = k + 1 2 l i 1 2 q = 1 l i 2 p 2 z 2 p + 2 q 1 y q + p F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , odd ) + p = k + 3 2 l i 2 q = 1 l i + 1 2 p z 2 p + 2 q 1 y q + p F ( F l i 2 p 2 q + 2 ; f , g ; c 0 , even ) + p = k + 3 2 l i 2 z 2 p y p F ( F l i 2 p + 1 ; f , g ; c 0 , even ) ] + F B C ( F l i + 1 ; f , g ; c 0 )
with F B C ( F l i + 1 ; f , g ; c 0 ) , F ( F l i + 1 ; f , g ; c 0 , odd ) , F ( F l i + 1 ; f , g ; c 0 , even ) as in Equations (29), (30), (35), respectively, and F B C ( F 2 ; f , g ; c 0 ) = 0 , F ( F 1 ; f , g ; c 0 , odd ) = 0 , F ( F 1 ; f , g ; c 0 , even ) = y .
Our conclusion now follows from Equations (53)–(57), (68), (69), and (73). □
The BC-subtree generating function of the wheel graph W n + 1 ( n 3 ) (where n is a positive integer) follows from Theorem 7 and Lemma 4.
Theorem 8.
Let W n + 1 ( n 3 ) be a wheel graph on n + 1 vertices with vertex weight function f ( v ) = ( 0 , y ) for v V ( W n + 1 ) and the edge weight function g ( e ) = z for e E ( W n + 1 ) , then
F B C ( W n + 1 ; f , g ) = 2 k = 0 n 2 [ p = k + 1 2 n 1 2 q = 1 n 2 p 2 z 2 p + 2 q 1 y q + p F F n 2 p 2 q + 2 odd ( c 0 ) + p = k + 3 2 n 2 q = 1 n + 1 2 p z 2 p + 2 q 1 y q + p F F n 2 p 2 q + 2 even ( c 0 ) + p = k + 3 2 l i 2 z 2 p y p F F n 2 p + 1 even ( c 0 ) ] + F B C ( F n + 1 ; f , g ; c 0 ) + i = 1 n 2 1 n y i + 1 z 2 i
with F B C ( F n + 1 ; f , g ; c 0 ) , F F n + 1 odd ( c 0 ) , F F n + 1 even ( c 0 ) given in Equations (13)–(15), respectively, and F B C ( F 2 ; f , g ; c 0 ) = 0 , F F 1 odd ( c 0 ) = 0 , F F 1 even ( c 0 ) = y .
Letting y = z = 1 in Theorems 7 and 8, respectively, we immediately have the following.
Corollary 3.
Let G = ( n 1 C l 1 + n 2 C l 2 + + n k C l k ) × c 0 be the multi-wheel graph. Then the BC-subtree number of G is
η B C ( G ) = i = 1 k 1 ( ( 1 + a ¯ ( l i + 1 ) ) n i 1 ) t = 1 k i i + 1 r 1 < r 2 < < r t k s = 1 t ( ( 1 + a ¯ ( l r s + 1 ) ) n r s 1 ) + i = 1 k 1 b ¯ ( l i + 1 ) n i 1 s = i + 1 k b ¯ ( l s + 1 ) n s 1 + i = 1 k ( ( b ¯ ( l i + 1 ) 1 ) j = 1 n i 1 [ b ¯ ( l i + 1 ) j 1 ] + a ¯ ( l i + 1 ) j = 1 n i 1 [ ( 1 + a ¯ ( l i + 1 ) ) j 1 ] + n i η B C ( W l i + 1 ; c 0 ) ) + i = 1 k j = 1 l i 2 1 n i l i ,
with
η B C ( W l i + 1 ; c 0 ) = η B C ( F l i + 1 ; c 0 ) + 2 k = 0 l i 2 [ p = k + 1 2 l i 1 2 q = 1 l i 2 p 2 a ( l i 2 p 2 q + 2 ) + p = k + 3 2 l i 2 q = 1 l i + 1 2 p b ( l i 2 p 2 q + 2 ) + p = k + 3 2 l i 2 b ( l i 2 p + 1 ) ] ,
a ¯ ( l i + 1 ) = 2 k = 0 l i 2 p = k + 1 2 l i 1 2 q = 1 l i 2 p 2 1 + a ( l i 2 p 2 q + 2 ) + p = 1 l i 1 2 q = 1 l i 2 p 2 1 + a ( l i 2 p 2 q + 2 ) + k = 1 l i 2 1 1 + a ( l i 2 k ) + 2 a l i + 1 ,
and
b ¯ ( l i + 1 ) = 2 k = 0 l i 2 p = k + 3 2 l i 2 b ( l i 2 p + 1 ) + q = 1 l i + 1 2 p b ( l i 2 p 2 q + 2 ) + p = 1 l i 2 b ( l i 2 p + 1 ) + q = 1 l i + 1 2 p b ( l i 2 p 2 q + 2 ) + k = 1 l i 2 b ( l i 2 k + 1 ) + b l i ,
with η B C ( F l i + 1 ; c 0 ) as in Equation (41), η B C ( F 2 ; c 0 ) = 0 , a ( l i + 1 ) , b ( l i + 1 ) as in Equations (42) and (43), respectively, and a 1 = 0 , b 1 = 1 .
Corollary 4.
The BC-subtree number of W n + 1 ( n 3 ) is
η B C ( W n + 1 ) = η B C ( F n + 1 ; c 0 ) + 2 k = 0 n 2 [ p = k + 1 2 n 1 2 q = 1 n 2 p 2 a ( n 2 p 2 q + 2 ) + p = k + 3 2 n 2 q = 1 n + 1 2 p b ( n 2 p 2 q + 2 ) + p = k + 3 2 n 2 b ( n 2 p + 1 ) ] + n ( n 2 1 ) ,
where
η B C ( F n + 1 ; c 0 ) = η B C ( F n ; c 0 ) + p = 1 n 1 2 q = 1 n 2 p 2 a ( n 2 p 2 q + 2 ) + s = 0 n 1 2 a ( n 2 s ) + p = 1 n 2 q = 1 n + 1 2 p b ( n 2 p 2 q + 2 ) + 2 p = 1 n 2 b ( n 2 p + 1 ) ,
and
a n + 1 = 1 + 2 a n + k = 1 n 2 1 1 + a ( n 2 k ) + p = 1 n 1 2 q = 1 n 2 p 2 1 + a ( n 2 p 2 q + 2 ) ,
b n + 1 = p = 1 n 2 ( b ( n 2 p + 1 ) + q = 1 n + 1 2 p b ( n 2 p 2 q + 2 ) ) + k = 1 n 2 b ( n 2 k + 1 ) + b n ,
with η B C ( F 2 ; c 0 ) = 0 , a 1 = 0 , b 1 = 1 .
Directly from Corollary 4 we may generate the BC-subtree number of W n + 1 ( n = 3 , 4 , , 50 ) (see Table 1).

5. The Behavior of the BC-Subtrees

With the theoretical foundation that was established in the previous sections, we will study the behavior of the BC-subtree number in the multi-fan and multi-wheel graphs. We first mention an extremal result as a simple consequence. We also briefly discuss the change of the BC-subtree numbers between different multi-fan or multi-wheel graphs. Lastly we consider the BC-subtree density in these structures.

5.1. BC-Subtree Number of F n + 1 r

The extremely problems with respect to a topological index concerns finding the extremal structures, among a given class of graphs, that maximize or minimize the index. These graphs always possess the best or worst of some desired properties [48,49,50]. We first point out the following simple fact.
Proposition 1.
The F n + 1 1 has 2 n n 1 BC-subtrees, fewer than any other F n + 1 r ( r 1 ) ; the F n + 1 n has more BC-subtrees than any other F n + 1 r ( r n ) .
It is often interesting to know, when studying extremal problems, which graph structures have the second or third largest or smallest values of a certain index. To shed some light on this we ran some simulation, whose result is shown in Figure 3, with Cartesian and semi-log (Log-Y) coordinate, respectively.
From Figure 3a, it appears that among all F n + 1 r ( 2 r n 1 ) , F n + 1 n 1 seems to have the second largest BC-subtree number, and the F n + 1 n 2 seems to be the third largest BC-subtree number for odd (or sufficient large) n.
It is also interesting to observe the change of the BC-subtree number as r changes, with the “local minimum” spread out for smaller values of r.
From Corollary 4 we can obtain data of similar nature for W n + 1 ( n 3 ) . Figure 4 confirms the simple fact that the BC-subtree numbers of W n + 1 increase very fast. The asymptotic expression of the BC-subtree number of W n + 1 seems to be η B C ( W n + 1 ) e x p ( 0.0909 + 0.893 n ) . This is something that can be further verified through analytic combinatorics approaches.

5.2. BC-Subtree Density

The generating function approach provides us with much more information than just the BC-subtree number. In particular, we will examine the BC-subtree density here, for r multi-fan graph F n + 1 r ( 1 r n , r is an integer ) and W n + 1 , respectively. For some of the work on this topic one may see [40].
Definition 4
([40]). Assume G is a graph with n vertices and k BC-subtrees of orders n 1 , n 2 , , n k , then μ B C ( G ) = 1 k i = 1 k n i denotes the average order of BC-subtrees of G, and the BC-subtree density of G is defined as D B C ( G ) = μ B C ( G ) n .
First it is easy to see that
n ( F n + 1 r ) = n ( W n + 1 ) = n + 1
Letting y = 1 in Theorem 6 and Theorem 8, we could obtain the so called edge generating function of BC-subtrees of F n + 1 r and W n + 1 , respectively, i.e., F B C ( F n + 1 r ; ( 0 , 1 ) , z ) and F B C ( W n + 1 ; ( 0 , 1 ) , z ) ).
By the definition of BC-subtree density and Equation (83), the BC-subtree density of G * ( G * = F n + 1 r or W n + 1 ) is simply
D B C ( G * ) = ( F B C ( G ; ( 0 , 1 ) , z ) × z ) z | z = 1 F B C ( G * ; ( 0 , 1 ) , 1 ) × n ( G * ) .
We may now provide the BC-subtree densities of F n + 1 r ( 1 r n ) in Figure 5, with related data in Table 2.
Similarly, with Theorem 8 we obtain the generating function F B C ( W n + 1 ; ( 0 , 1 ) , z ) . Together with Equation (84) we can obtain the BC-subtree densities of W n + 1 (see Figure 6 and Table 3).
From Table 2 and Figure 5, we see that F 22 + 1 1 , F 22 + 1 2 and F 22 + 1 3 ranks the first to the third with the smallest BC-subtree density, respectively. From Table 3 and Figure 6, we see that the BC-subtree density of W n + 1 ( 3 n 24 ) maximized at n = 4 , and decreases gradually when n 6 .

6. Concluding Remarks

Motivated from the past studies of BC-trees, BC-subtrees, as well as the applications of structural properties of network graphs [51], we provide recursive formulae for computing the BC-subtree generating functions of multi-fan and multi-wheel graphs, and also derive the BC-subtree numbers of multi-fan graphs, r multi-fan graphs, multi-wheel (wheel) graphs. Moreover, the behavior of the BC-subtree numbers between different multi-fan or multi-wheel graphs, and extremal problems and BC-subtree density are also briefly discussed. These findings are likely useful in further understanding the properties and behaviors of these graphs. For future work it would be interesting to consider other well known topological indices on the multi-fan and multi-wheel graphs and compare their behaviors with that of the BC-subtree number.

Author Contributions

H.W. and W.W. contribute for supervision, project administration and formal analysis. L.L. and Y.Y. contribute for methodology and writing original draft preparation. The final draft we written by H.W. and Y.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the National Natural Science Foundation of China (grant nos. 61702291,11801371); the Program for Science & Technology Innovation Talents in Universities of Henan Province (grant no. 19HASTIT029), the Key Research Project in Universities of Henan Province (grant nos. 19B110011, 19B630015),the Scientific Research Starting Foundation for High-Level Talents of Pingdingshan University (grant no.PXY-BSQD2017006).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wiener, H. Structural determination of paraffin boiling points. J. Am. Chem. Soc. 1947, 1, 17–20. [Google Scholar] [CrossRef]
  2. Xu, K.; Das, K.C. On Harary index of graphs. Discret. Appl. Math. 2011, 159, 1631–1640. [Google Scholar] [CrossRef] [Green Version]
  3. Sun, Q.; Ikica, B.; Škrekovski, R.; Vukašinović, V. Graphs with a given diameter that maximise the Wiener index. Appl. Math. Comput. 2019, 356, 438–448. [Google Scholar] [CrossRef]
  4. Binu, M.; Mathew, S.; Mordeson, J. Wiener index of a fuzzy graph and application to illegal immigration networks. Fuzzy Sets Syst. 2020, 384, 132–147. [Google Scholar] [CrossRef]
  5. Dimitrov, D.; Milosavljević, N. Efficient computation of trees with minimal atom-bond connectivity Index revisited. Match Commun. Math. Comput. Chem. 2018, 79, 431–450. [Google Scholar]
  6. Milovanović, E.; Milovanović, I.; Matejić, M. Remark on spectral study of the geometric–arithmetic index and some generalizations. Appl. Math. Comput. 2018, 334, 206–213. [Google Scholar] [CrossRef]
  7. Sah, A.; Sawhney, M. On the Discrepancy Between Two Zagreb Indices. Discret. Math. 2018, 341, 2575–2589. [Google Scholar] [CrossRef] [Green Version]
  8. Zhang, X.; Yang, Y.; Wang, H.; Zhang, X. Maximum atom-bond connectivity index with given graph parameters. Discret. Appl. Math. 2016, 215, 208–217. [Google Scholar] [CrossRef] [Green Version]
  9. Chen, X.; Zhang, J.; Sun, W. On the Hosoya index of a family of deterministic recursive trees. Phys. Stat. Mech. Its Appl. 2017, 465, 449–453. [Google Scholar] [CrossRef]
  10. De Ita Luna, G.; Raymundo Marcial-Romero, J.; Bello Lopez, P.; Contreras Gonzalez, M. Linear-time algorithms for computing the Merrifield-Simmons index on polygonal trees. Match Commun. Math. Comput. Chem. 2018, 79, 55–78. [Google Scholar]
  11. Huang, Y.; Shi, L.; Xu, X. The Hosoya index and the Merrifield–Simmons index. J. Math. Chem. 2018, 56, 3136–3146. [Google Scholar] [CrossRef] [Green Version]
  12. Yan, W.; Yeh, Y. Enumeration of subtrees of trees. Theor. Comput. Sci. 2006, 369, 256–268. [Google Scholar] [CrossRef] [Green Version]
  13. Yang, Y.; Liu, H.; Wang, H.; Makeig, S. Enumeration of BC-subtrees of trees. Theor. Comput. Sci. 2015, 580, 59–74. [Google Scholar] [CrossRef]
  14. Lin, W.; Chen, J.; Wu, Z.; Dimitrov, D.; Huang, L. Computer search for large trees with minimal ABC index. Appl. Math. Comput. 2018, 338, 221–230. [Google Scholar] [CrossRef]
  15. Wagner, S.G. Correlation of graph-theoretical indices. SIAM J. Discret. Math. 2007, 21, 33–46. [Google Scholar] [CrossRef] [Green Version]
  16. Yang, Y.; Liu, H.; Wang, H.; Deng, A.; Magnant, C. On Algorithms for Enumerating Subtrees of Hexagonal and Phenylene Chains. Comput. J. 2017, 60, 690–710. [Google Scholar] [CrossRef]
  17. Zhou, Q.; Wang, L.; Lu, Y. Wiener index and Harary index on Hamilton-connected graphs with large minimum degree. Discret. Appl. Math. 2018, 247, 180–185. [Google Scholar] [CrossRef]
  18. Joiţa, D.M.; Jäntschi, L. Extending the characteristic polynomial for characterization of C20 fullerene congeners. Mathematics 2017, 5, 84. [Google Scholar] [CrossRef] [Green Version]
  19. García-Pereira, I.; Zanni, R.; Galvez-Llompart, M.; Galvez, J.; García-Domenech, R. DesMol2, an effective tool for the construction of molecular libraries and its application to QSAR using molecular topology. Molecules 2019, 24, 736. [Google Scholar] [CrossRef] [Green Version]
  20. Bonchev, D. The overall Wiener index–a new tool for characterization of molecular topology. J. Chem. Inf. Model. 2001, 41, 582–592. [Google Scholar]
  21. Bonchev, D. Chapter 3—On the Concept for Overall Topological Representation of Molecular Structure. In Advances in Mathematical Chemistry and Applications; Basak, S.C., Restrepo, G., Villaveces, J.L., Eds.; Bentham Science Publishers: Sharjah, UAE, 2015; pp. 42–75. [Google Scholar]
  22. Yang, Y.; Sun, X.J.; Cao, J.Y.; Wang, H.; Zhang, X.D. The expected subtree number index in random polyphenylene and spiro chains. Discret. Appl. Math. 2020, 285, 483–492. [Google Scholar] [CrossRef]
  23. Sills, A.V.; Wang, H. The minimal number of subtrees of a tree. Graphs Comb. 2015, 31, 255–264. [Google Scholar] [CrossRef]
  24. Székely, L.; Wang, H. On subtrees of trees. Adv. Appl. Math. 2005, 34, 138–155. [Google Scholar] [CrossRef] [Green Version]
  25. Zhang, X.; Zhang, X. The minimal number of subtrees with a given degree sequence. Graphs Comb. 2015, 31, 309–318. [Google Scholar] [CrossRef]
  26. Zhang, X.; Zhang, X.; Gray, D.; Wang, H. The number of subtrees of trees with given degree sequence. J. Graph Theory 2013, 73, 280–295. [Google Scholar] [CrossRef] [Green Version]
  27. Harary, F.; Plummer, M. On the core of a graph. Proc. Lond. Math. Soc. 1967, 17, 249–257. [Google Scholar] [CrossRef]
  28. Harary, F.; Prins, G. The block-cutpoint-tree of a graph. Publ. Math. Debr. 1966, 13, 103–107. [Google Scholar]
  29. Nakayama, T.; Fujiwara, Y. BCT Representation of Chemical Structures. J. Chem. Inf. Comput. Sci. 1980, 20, 23–28. [Google Scholar] [CrossRef]
  30. Nakayama, T.; Fujiwara, Y. Computer representation of generic chemical structures by an extended block-cutpoint tree. J. Chem. Inf. Comput. Sci. 1983, 23, 80–87. [Google Scholar] [CrossRef]
  31. Frederickson, G.N.; Hambrusch, S.E. Planar linear arrangements of outerplanar graphs. IEEE Trans. Circuits Syst. 1988, 35, 323–333. [Google Scholar] [CrossRef]
  32. Wada, K.; Luo, Y.; Kawaguchi, K. Optimal fault-tolerant routings for connected graphs. Inf. Process. Lett. 1992, 41, 169–174. [Google Scholar] [CrossRef]
  33. Gagarin, A.; Labelle, G. Two-connected graphs with prescribed three-connected components. Adv. Appl. Math. 2009, 43, 46–74. [Google Scholar] [CrossRef] [Green Version]
  34. Heath, L.; Pemmaraju, S. Stack and queue layouts of directed acyclic graphs: Part II. SIAM J. Comput. 1999, 28, 1588–1626. [Google Scholar] [CrossRef] [Green Version]
  35. Paton, K. An algorithm for the blocks and cutnodes of a graph. Commun. ACM 1971, 14, 468–475. [Google Scholar] [CrossRef]
  36. Misiolek, E.; Chen, D.Z. Two flow network simplification algorithms. Inf. Process. Lett. 2006, 97, 197–202. [Google Scholar] [CrossRef]
  37. Fox, D. Block cutpoint decomposition for markovian queueing systems. Appl. Stoch. Model. Data Anal. 1988, 4, 101–114. [Google Scholar] [CrossRef]
  38. Barefoot, C. Block-cutvertex trees and block-cutvertex partitions. Discret. Math. 2002, 256, 35–54. [Google Scholar] [CrossRef] [Green Version]
  39. Mkrtchyan, V. On trees with a maximum proper partial 0–1 coloring containing a maximum matching. Discret. Math. 2006, 306, 456–459. [Google Scholar] [CrossRef] [Green Version]
  40. Yang, Y.; Liu, H.; Wang, H.; Sun, S. On Spiro and polyphenyl hexagonal chains with respect to the number of BC-subtrees. Int. J. Comput. Math. 2017, 94, 774–799. [Google Scholar] [CrossRef]
  41. Yang, Y.; Liu, H.; Wang, H.; Feng, S. On algorithms for enumerating BC-subtrees of unicyclic and edge-disjoint bicyclic graphs. Discret. Appl. Math. 2016, 203, 184–203. [Google Scholar] [CrossRef]
  42. Yang, Z.; Liu, Y.; Li, X.Y. Beyond trilateration: On the localizability of wireless ad hoc networks. IEEE/ACM Trans. Netw. (ToN) 2010, 18, 1806–1814. [Google Scholar] [CrossRef]
  43. Tu, J.; Zhou, Y.; Su, G. A kind of conditional connectivity of Cayley graphs generated by wheel graphs. Appl. Math. Comput. 2017, 301, 177–186. [Google Scholar] [CrossRef]
  44. Liu, X.; Zhang, Y.; Gui, X. The multi-fan graphs are determined by their Laplacian spectra. Discret. Math. 2008, 308, 4267–4271. [Google Scholar] [CrossRef]
  45. Zhang, Y.; Liu, X.; Yong, X. Which wheel graphs are determined by their Laplacian spectra? Comput. Math. Appl. 2009, 58, 1887–1890. [Google Scholar] [CrossRef] [Green Version]
  46. Kumar, A.; Sarkar, R. Hilbert series of binomial edge ideals. Commun. Algebra 2019, 47, 3830–3841. [Google Scholar] [CrossRef] [Green Version]
  47. Yang, Y.; Wang, A.; Wang, H.; Zhao, W.T.; Sun, D.Q. On Subtrees of Fan Graphs, Wheel Graphs, and “Partitions” of Wheel Graphs Under Dynamic Evolution. Mathematics 2019, 5, 472. [Google Scholar] [CrossRef] [Green Version]
  48. Cao, S.; Dehmer, M.; Shi, Y. Extremality of degree-based graph entropies. Inf. Sci. 2014, 278, 22–33. [Google Scholar] [CrossRef]
  49. Székely, L.A.; Wang, H. Extremal values of ratios: Distance problems vs. subtree problems in trees. Electron. J. Comb. 2013, 20, P67. [Google Scholar] [CrossRef] [Green Version]
  50. Wang, H. The extremal values of the Wiener index of a tree with given degree sequence. Discret. Appl. Math. 2008, 156, 2647–2654. [Google Scholar] [CrossRef] [Green Version]
  51. Allen, B.; Lippner, G.; Chen, Y.T.; Fotouhi, B.; Momeni, N.; Yau, S.T.; Nowak, M.A. Evolutionary dynamics on any population structure. Nature 2017, 544, 227. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Weighted graph G.
Figure 1. Weighted graph G.
Mathematics 09 00036 g001
Figure 2. The multi-fan graph ( i P 1 + P n j + 1 + + P n k ) × c 0 .
Figure 2. The multi-fan graph ( i P 1 + P n j + 1 + + P n k ) × c 0 .
Mathematics 09 00036 g002
Figure 3. BC-subtree numbers of F n + 1 r with n = 33 , 58 , 75 , 80 , r from 1 to n, respectively.
Figure 3. BC-subtree numbers of F n + 1 r with n = 33 , 58 , 75 , 80 , r from 1 to n, respectively.
Mathematics 09 00036 g003
Figure 4. Original BC-subtree number and the corresponding data fitted by linear regression of W n + 1 ( n = 3 , 4 , , 602 ) .
Figure 4. Original BC-subtree number and the corresponding data fitted by linear regression of W n + 1 ( n = 3 , 4 , , 602 ) .
Mathematics 09 00036 g004
Figure 5. BC-subtree densities of r multi-fan F 22 + 1 r ( 1 r 22 ) .
Figure 5. BC-subtree densities of r multi-fan F 22 + 1 r ( 1 r 22 ) .
Mathematics 09 00036 g005
Figure 6. BC-subtree densities of wheel graph W n + 1 ( 3 n 24 ) .
Figure 6. BC-subtree densities of wheel graph W n + 1 ( 3 n 24 ) .
Mathematics 09 00036 g006
Table 1. The BC-subtree number of wheel graph W n + 1 ( n = 3 , 4 , , 50 ).
Table 1. The BC-subtree number of wheel graph W n + 1 ( n = 3 , 4 , , 50 ).
n η BC ( W n ) n η BC ( W n ) n η BC ( W n )
3161932,983,5073544,956,112,462,965
4512079,507,82936109,018,361,948,171
513121191,713,58637264,446,533,681,852
634022462,509,68138641,651,556,370,739
7841231,116,289,936391,557,326,469,215,175
82067242,695,367,516403,780,724,965,944,533
95026256,510,870,551419,180,821,777,073,118
1012,1472615,733,892,8964222,299,504,128,100,416
1129,3052738,036,865,3794354,176,661,898,045,614
1270,5082891,989,932,35244131,652,455,330,130,629
13169,66429222,555,514,08945319,993,939,502,205,010
14407,98830538,634,836,90446777,941,764,394,823,593
15981,517311,304,079,385,141471,891,653,259,171,010,731
162,361,611323,158,367,596,891484,600,677,046,844,511,460
175,684,920337,651,840,948,5544911,191,401,704,559,183,703
1813,690,2013418,544,255,820,8395027,228,679,901,334,157,132
Table 2. Data related to BC-subtrees of F n + 1 r , with n = 22 and r = 1 , 2 , , 22 .
Table 2. Data related to BC-subtrees of F n + 1 r , with n = 22 and r = 1 , 2 , , 22 .
r P z ( F n + 1 r ) η BC ( F n + 1 r ) D BC ( F n + 1 r )
150,331,6034,194,2810.5217415249997297
253,106,9054,371,4270.5282018593848684
3285,872,36720,279,9050.6128841997941354
4473,222,72132,609,8370.6309415442046974
5744,621,99449,805,7360.6500229070874051
6717,819,20848,287,6960.6463247031419493
71,460,830,94393,663,2060.6781146144633033
8703,383,18747,521,8250.6435333174946917
91,091,991,58671,647,2320.662661958015046
101,742,448,206110,913,1520.6830444927953532
113,063,687,819187,270,9070.7112894381260796
12448,577,81831,383,9260.6214449840120178
13556,641,58038,350,2500.6310730132420768
14690,781,20646,878,6940.6406741083329001
15857,549,24757,340,1310.6502383098769903
161,065,571,36170,221,0050.6597625540775962
171,326,780,94186,192,8840.6692678698344194
181,659,024,388106,256,2880.678844485235874
192,091,899,843132,053,3830.6887530256377947
202,680,301,328166,568,1420.6996226226010619
213,536,505,225215,724,2260.7127669413407951
224,906,885,913292,065,3250.73046283663632
P z ( F n + 1 r ) stands for ( F B C ( F n + 1 r ; ( 0 , 1 ) , z ) × z ) z | z = 1 .
Table 3. Data related to BC-subtrees of wheel graph W n + 1 ( n = 3 , 4 , 24 ) .
Table 3. Data related to BC-subtrees of wheel graph W n + 1 ( n = 3 , 4 , 24 ) .
k P z ( W k + 1 ) D BC ( W k + 1 ) k P z ( W k + 1 ) D BC ( W k + 1 )
3520.8125144,657,2400.7610093107313614
42110.82745098039215681511,924,8870.7593403247218337
56210.79007633587786261630,421,8190.7577533999908885
618820.79075630252100841777,392,0930.7563098024637501
752510.780469678953626618196,372,9030.7549499052182229
814,4590.777240230070418819497,180,6960.7536807653594871
938,8570.7731197771587743201,256,299,8890.7524833703900728
10102,8770.7699394538120149213,168,978,9050.7513525707135758
11269,8640.7674003298640732227,981,278,8950.7502807835703772
12701,1320.76492356568376312320,073,455,7360.749262321576641
131,812,2140.76294238696987662450,423,103,6200.7482928145521214
P z ( W k + 1 ) stands for ( F B C ( W k + 1 ; ( 0 , 1 ) , z ) × z ) z | z = 1 .
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Yang, Y.; Li, L.; Wang, W.; Wang, H. On BC-Subtrees in Multi-Fan and Multi-Wheel Graphs. Mathematics 2021, 9, 36. https://doi.org/10.3390/math9010036

AMA Style

Yang Y, Li L, Wang W, Wang H. On BC-Subtrees in Multi-Fan and Multi-Wheel Graphs. Mathematics. 2021; 9(1):36. https://doi.org/10.3390/math9010036

Chicago/Turabian Style

Yang, Yu, Long Li, Wenhu Wang, and Hua Wang. 2021. "On BC-Subtrees in Multi-Fan and Multi-Wheel Graphs" Mathematics 9, no. 1: 36. https://doi.org/10.3390/math9010036

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop