This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

11institutetext: Department of Computer Applications, Cochin University of Science and Technology, India 11email: [email protected]
22institutetext: Department of Futures Studies, University of Kerala, Thiruvananthapuram, India 22email: [email protected]
33institutetext: Indian Institute of Information Technology Kottayam, India 33email: {dhanya,divyaslekha}@iiitkottayam.ac.in
44institutetext: Mathematical Institute, LMU München, Munich, Germany 44email: [email protected]
55institutetext: Indian Statistical Institute, Bengaluru, India 55email: [email protected]

The Median of Sierpiński Triangle Graphs

Kannan Balakrishnan 11 0000-0003-1285-5949    Manoj Changat 22 0000-0001-7257-6031    M V. Dhanyamol 33 0000-0003-4487-7704   
Andreas M. Hinz
44
   Hrishik Koley 55    Divya Sindhu Lekha 33 0000-0002-6617-5378
Abstract

The median MM of a graph GG is the set of vertices with a minimum total distance to all other vertices in the graph. In this paper, we determine the median of Sierpiński triangle graphs. Sierpiński triangle graphs, also known as Sierpiński gasket graphs of order nn are graphs formed by contracting all non-clique edges from the Sierpiński graphs of order (n+1n+1).

Keywords:
Shortest path Median Sierpiński triangle graph.

1 Introduction

We deal with many networks in our day-to-day lives. The metric properties of graphs allow us to study the topological features of networks such as social networks, computer networks, and transportation networks in detail [6]. These metric properties help identify important nodes, detect communities, and understand the flow of resources in the network. For example, in social networks, they are used to identify influential individuals or tightly-knit communities.

As a metric property, the median of a graph is significant and finding it makes designing networks much easier [9]. For example, if we can successfully identify the median of a graph in a transportation network then it helps us optimize the placement of various facilities, in such a way, that it minimizes the overall distances as well as makes any facility easily accessible on the network. Similarly, in the case of the spread of diseases, finding medians aids in optimizing the placement of hospitals and clinics for effective resource allocation or deciding vaccination strategies.

The median vertices of a graph are the vertices with the minimum total distance from all other vertices in it. Given a connected (simple) graph G=(V;E)G=(V;E) with |G|2|G|\geq 2, the distance between two vertices is given by the length of a shortest path between them. The total distance of a vertex vVv\in V is defined as the sum of distances from vv to all other vertices. Thus, median vertices are vertices that minimise this total distance and form the median of GG.

Let G=(V,E)G=(V,E) be a connected (simple) graph with |G|2|G|\geq 2, and with the canonical distance function dd. The total distance d(v)d(v) of a vertex vv is defined as the sum of distances d(v,u)d(v,u) to all other vertices uu. A median vertex is a vertex that minimizes the total distance over VV. The eccentricity of vVv\in V is ϵ(v)=maxuVd(v,u)\epsilon(v)=\max_{u\in V}d(v,u) and its average distance is d¯(v)=d(v)/(|G|1)\overline{d}(v)=d(v)/(|G|-1). We then have,

Lemma 1.1.

For all vV:|G|1d(v)(|G|1)ϵ(v), 1d¯(v)ϵ(v).\text{For all }v\in V:\;|G|-1\leq d(v)\leq(|G|-1)\epsilon(v),\;1\leq\overline{d}(v)\leq\epsilon(v)\,.

This is evident, with equalities for complete graphs.

The proximity of G is

prox(G)=min{d¯(v)|vV}\mathrm{prox}(G)=\mathrm{min}\{\overline{d}(v)|v\in V\}

and the remoteness of G is

rem(G)=max{d¯(v)|vV}.\mathrm{rem}(G)=\mathrm{max}\{\overline{d}(v)|v\in V\}.

The median is the set of median vertices

M(G)={vV|d¯(v)=prox(G)}.M(G)=\{v\in V\ |\ \overline{d}(v)=\mathrm{prox}(G)\}\,.

Sierpiński triangle graphs are a very common fractal structure that is widely studied and can be found in nature [8]. Recently, Hinz et al.  [1] have done a detailed study on the metric properties like center and periphery of Sierpiński triangle graphs. In the present paper, we study the median of Sierpiński triangle graphs.

2 Median of Sierpiński Graphs

Switching Tower of Hanoi (STH) is a variation of the Tower of Hanoi (ToH) game [3]. The goal of STH is to shift the tower of discs from one peg to another. Let us label the discs 11 through nn, based on their increasing size. The set of rules in ToH apply in STH only for the smallest disc; otherwise we can switch the entire tower of discs 1 through dd if they lie in order on a single peg, with the disc d+1d+1, if it lies on top of another peg. Therefore, there are moves of type 0 (only disc 1 is moving) and of type 1 (a non-empty subtower and a disc are switched).

We model ToH and STH with n0n\in\mathbb{N}_{0} discs by Hanoi graphs HnH^{n} and Sierpiński graphs SnS^{n}, respectively. Any legal distribution of the discs among the pegs, labelled by elements of T:={0,1,2}T:=\{0,1,2\} for convenience, represents a state s=sns1Tns=s_{n}\ldots s_{1}\in T^{n}, where sds_{d} is the peg disc d[n]:={1,,n}d\in[n]:=\{1,\ldots,n\} is positioned. Hence V(Hn)=Tn=V(Sn)V(H^{n})=T^{n}=V(S^{n}) and

E(Hn)={{s¯ikd1,s¯jkd1}|s¯Tnd,{i,j,k}=T,d[n]},E(H^{n})=\left\{\{\underline{s}ik^{d-1},\underline{s}jk^{d-1}\}\ |\ \underline{s}\in T^{n-d},\,\{i,j,k\}=T,\,d\in[n]\right\}\,,
E(Sn)={{s¯ijd1,s¯jid1}|s¯Tnd,{i,j}(T2),d[n]}=E0nE1n,E(S^{n})=\left\{\{\underline{s}ij^{d-1},\underline{s}ji^{d-1}\}\ |\ \underline{s}\in T^{n-d},\,\{i,j\}\in\textstyle{{T\choose 2}},\,d\in[n]\right\}=E_{0}^{n}\mathbin{\mathchoice{\leavevmode\vtop{\halign{\hfil$\m@th\displaystyle#$\hfil\cr\cup\cr\cdot\crcr}}}{\leavevmode\vtop{\halign{\hfil$\m@th\textstyle#$\hfil\cr\cup\cr\cdot\crcr}}}{\leavevmode\vtop{\halign{\hfil$\m@th\scriptstyle#$\hfil\cr\cup\cr\cdot\crcr}}}{\leavevmode\vtop{\halign{\hfil$\m@th\scriptscriptstyle#$\hfil\cr\cup\cr\cdot\crcr}}}}E_{1}^{n}\,,

where E0nE_{0}^{n} and E1nE_{1}^{n} represent the moves to type 0 (d=1d=1) and 1 (d>1)d>1), respectively. Moreover, we also define the extreme vertices for both HnH^{n} and SnS^{n} as the vertices corresponding to the states of the ToH, in which all of the nn discs lie on a single peg. Note that HnSnH^{n}\cong S^{n}; see ([3], Figure 4.4).

From [2] we know that M(S0)={e}M(S^{0})=\{{\rm e}\} with the empty word e{\rm e}, M(S1)=T,M(S2)={ij|{i,j}(T2)},M(S^{1})=T,\,M(S^{2})=\left\{ij\ |\ \{i,j\}\in\textstyle{{T\choose 2}}\right\}, and M(Sn)={ijkn2|i,j,kT,jik}M(S^{n})=\{ijk^{n-2}\ |\ i,j,k\in T,\,j\neq i\neq k\} for n3n\geq 3, such that

|M(S0)|=1,|M(S1)|=3,|M(S2)|=6,and|M(Sn)|=12forn3.|M(S^{0})|=1,\,|M(S^{1})|=3,\,|M(S^{2})|=6,\,{\rm and}\,|M(S^{n})|=12\;{\rm for}\,n\geq 3\,.

For example, we may consider S33S^{3}_{3}, and we can see and deduce from Figure 1, that M(S33)={011,012,021,022,200,201,210,211,122,120,102,100}M(S^{3}_{3})=\{011,012,021,022,200,201,210,211,122,120,102,100\}.

222222000000111111211211122122200200100100011011022022012012010010021021020020001001002002212212220220221221210210201201202202121121102102112112101101110110120120
Figure 1: Sierpiński graph S33S^{3}_{3}

3 Small Sierpiński Triangle Graphs

Sierpiński triangle graphs are a variation of the Sierpiński graphs. Before delving into how Sierpiński graphs are modified to get Sierpiński triangle graphs, we define primitive vertices of Sierpiński triangle graphs. We define the primitive vertices of S^n\widehat{S}^{n} as the extreme vertices of S^n\widehat{S}^{n}, and they are denoted by i^\widehat{i}, where iTi\in T.

In a shortest path between two vertices of SnS^{n}, n2n\geq 2, a non-terminal move of type 0 is always followed immediately by a move of type 1 and vice versa. For the latter there is only one choice, It can therefore be considered as a forced move and left out in an accelerated count of moves. We obtain the Sierpiński triangle graph S^n\widehat{S}^{n}, n0n\in\mathbb{N}_{0}, from Sierpiński graph Sn+1S^{n+1} by contracting all edges from E1n+1E_{1}^{n+1}. The end vertices s1:=s¯ijd1s_{1}:=\underline{s}ij^{d-1} and s2:=s¯jid1s_{2}:=\underline{s}ji^{d-1} of such an edge in Spn+1S_{p}^{n+1} with 1<dn+11<d\leq n+1 and s¯=sn+1sd+1Tnd+1\underline{s}=s_{n+1}\ldots s_{d+1}\in T^{n-d+1} and {i,j}(T2)\{i,j\}\in{T\choose 2} form a combined state s¯k\underline{s}k, k=3ijk=3-i-j, i.e. vertex in S^n\widehat{S}^{n}. The extreme vertices in+1i^{n+1}, iTi\in T, of Sn+1S^{n+1} are not incident with a move of type 1, so they carry over to primitive vertices i^\widehat{i} of S^n\widehat{S}^{n}, forming the set T^V(S^n)\widehat{T}\subset V(\widehat{S}^{n}). The moves of type 0 in Sn+1S^{n+1} forms the edge set in S^n\widehat{S}^{n}. In other words, only moves of type 0 in Sn+1S^{n+1} are counted in S^n\widehat{S}^{n}. More formally,

V(S^n)=T^d=2n+1Tnd+2V(\widehat{S}^{n})=\widehat{T}\cup\bigcup_{d=2}^{n+1}T^{n-d+2}

and V(S^n)T^E1n+1V(\widehat{S}^{n})\setminus\widehat{T}\cong E_{1}^{n+1}, E(S^n)E0n+1E(\widehat{S}^{n})\cong E_{0}^{n+1}, where {s,t}E(S^n)\{s,t\}\in E(\widehat{S}^{n}) iff {sa,tb}E0n+1\{s_{a},t_{b}\}\in E_{0}^{n+1} for some a,b{1,2}a,b\in\{1,2\}.

Clearly, S^30S31\widehat{S}^{0}_{3}\cong S^{1}_{3}. Therefore, |M(S^30)|=|M(S31)|=|V(S31)|=|V(S^30)|=3|M(\widehat{S}^{0}_{3})|=|M(S^{1}_{3})|=|V(S^{1}_{3})|=|V(\widehat{S}^{0}_{3})|=3. By definition of proximity and median, it is trivial that M(S^30)=V(S^30)=T^={0^,1^,1^}M(\widehat{S}^{0}_{3})=V(\widehat{S}^{0}_{3})=\widehat{T}=\{\widehat{0},\widehat{1},\widehat{1}\}. (Refer to Figure  2.)

Obviously, M(S^31)={0,1,2}M(\widehat{S}^{1}_{3})=\{0,1,2\} which comprises the vertices lying on the inner ring, as shown in Figure 2. So |M(S^30)|=3|M(\widehat{S}^{0}_{3})|=3.

0^\widehat{0}1^\widehat{1}2^\widehat{2}0^\widehat{0}1^\widehat{1}2^\widehat{2}22110
Figure 2: Sierpiński triangle graphs S^30\widehat{S}^{0}_{3} and S^31\widehat{S}^{1}_{3}, respectively

4 Median of Sierpiński Triangle Graphs

4.0.1 Definitions:

  1. 1.

    d^n(s,t)\widehat{d}_{n}(s,t) is defined as the distance between any two vertices ss and tt in the Sierpiński triangle graph S^3n\widehat{S}^{n}_{3}.

  2. 2.

    dn(s,t)d_{n}(s,t) is defined as the distance between any two vertices ss and tt in the Sierpiński graph S3nS^{n}_{3}.

  3. 3.

    d^n(s)\widehat{d}_{n}(s) is defined as the total distance of any vertex ss from all other vertices in the Sierpiński triangle graph S^3n\widehat{S}^{n}_{3}.

  4. 4.

    dn(s)d_{n}(s) is defined as the total distance of any vertex ss from all other vertices in the Sierpiński graph S3nS^{n}_{3}.

  5. 5.

    d^n(s)\widehat{d^{\prime}}_{n}(s) is defined as the total distance of any vertex ss from all other vertices except the primitive vertices in the Sierpiński triangle graph S^3n\widehat{S}^{n}_{3}.

  6. 6.

    dn(s)d^{\prime}_{n}(s) is defined as the total distance of any vertex ss from all other vertices except the extreme vertices and the vertex that forms a non-clique edge with ss in the Sierpiński graph S3nS^{n}_{3}.

Our main goal is to find the median of the Sierpiński triangle graphs.

Theorem 4.1.

|M(S^3n)|=6|M(\widehat{S}^{n}_{3})|=6 for all n2n\geq 2.

The median vertices of S^3n\widehat{S}^{n}_{3} are the vertices formed by contracting edges in S3n+1S^{n+1}_{3}, whose end vertices are the median of S3n+1S^{n+1}_{3}.

M(S^3n\widehat{S}^{n}_{3})=M^0n\widehat{M}^{n}_{0}:={0,1,2,00,11,22}\{0,1,2,00,11,22\} and |M(S^3n)|=6|M(\widehat{S}^{n}_{3})|=6 for n0n\in\mathbb{N}_{0} and
n2n\geq 2.

For the proof we need some preliminaries.

Theorem 4.2.

(Equation 6 in Section 3.1 of  [1]) For any given vertex sV(S^3n)s\in V(\widehat{S}^{n}_{3}), the sum of distances of any given vertex from the primitive vertices is

d^n(s)d^n(s)=2n+1\displaystyle\widehat{d}_{n}(s)-\widehat{d^{\prime}}_{n}(s)=2^{n+1}
Theorem 4.3.

(Corollary 4.7 in  [3]) For any given vertex sV(S3n)s\in V(S^{n}_{3}), the sum of distances of any given vertex from the extreme vertices is

dn(s)dn(s)=2(2n1)\displaystyle d_{n}(s)-d^{\prime}_{n}(s)=2(2^{n}-1)
Theorem 4.4.

For any two given vertices s,tV(S^3n)s,t\in V(\widehat{S}^{n}_{3}),

d^n(s,t)=dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)8\widehat{d}_{n}(s,t)=\left\lceil\frac{d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})}{8}\right\rceil (1)
Proof.

Let us assume that the shortest {s2,t1}\{s_{2},t_{1}\} path in S3n+1S^{n+1}_{3} does not pass through s1s_{1} or t2t_{2}. We know that in a path, between any two vertices in S3n+1S^{n+1}_{3}, clique and non-clique edges occur alternately. The shortest {s2,t1}\{s_{2},t_{1}\} path not passing through s1s_{1} and t2t_{2} in S3n+1S^{n+1}_{3} starts with a clique edge and ends with a clique edge. The shortest {s,t}\{s,t\} in S^3n\widehat{S}^{n}_{3} has the same number of edges as the number of clique edges in the shortest {s2,t1}\{s_{2},t_{1}\} path in S3n+1S^{n+1}_{3}, that is

d^n(s,t)=dn+1(s2,t1)+12\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{2},t_{1})+1}{2} (2)

For the rest of the paths, there are 4 exhaustive cases:

  1. Case 1:

    The {s1,t1}\{s_{1},t_{1}\} path passes through s2s_{2}, the {s2,t2}\{s_{2},t_{2}\} path passes through t1t_{1}, and the {s1,t2}\{s_{1},t_{2}\} path passes through both s2s_{2} and t1t_{1}. (For example, consider the case s1=002s_{1}=002, s2=020s_{2}=020, t1=022t_{1}=022, and t2=200t_{2}=200 in Figure 3, where the shortest path for any pair of vertices follow the red line.)
    Therefore, we get:

    d^n(s,t)=dn+1(s1,t1)2\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{1},t_{1})}{2} (3)
    d^n(s,t)=dn+1(s2,t2)2\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{2},t_{2})}{2} (4)
    d^n(s,t)=dn+1(s1,t2)12\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{1},t_{2})-1}{2} (5)

    Combining equations 3, 4, and 5, we get

    d^n(s,t)=18[dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)]\widehat{d}_{n}(s,t)=\frac{1}{8}[d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})] (6)
    222222000000111111211211122122200(t2)200(t_{2})100100011011022(t1)022(t_{1})012012010010021021020(s2)020(s_{2})001001002(s1)002(s_{1})212212220220221221210210201201202202121121102102112112101101110110120120
    Figure 3: Sierpiński graph S33S^{3}_{3}
  2. Case 2:

    The {s1,t2}\{s_{1},t_{2}\} path does not pass through s2s_{2} or t1t_{1}, the {s2,t2}\{s_{2},t_{2}\} path passes through t1t_{1} (or s1s_{1}), and the {s1,t1}\{s_{1},t_{1}\} path passes through t2t_{2} (or s2s_{2}). (For example, consider the case s1=012s_{1}=012, s2=021s_{2}=021, t1=211t_{1}=211, and t2=122t_{2}=122 in Figure 4, where the shortest path for each pair of vertices follows the red line.)

    Therefore, we get:

    d^n(s,t)=dn+1(s1,t1)2\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{1},t_{1})}{2} (7)
    d^n(s,t)=dn+1(s2,t2)2\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{2},t_{2})}{2} (8)
    d^n(s,t)=dn+1(s1,t2)+12\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{1},t_{2})+1}{2} (9)

    Combining equations 7, 8, and 9, we get

    d^n(s,t)=18[dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)+2]\displaystyle\widehat{d}_{n}(s,t)=\frac{1}{8}[d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})+2]
    =dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)8\displaystyle=\left\lceil\frac{d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})}{8}\right\rceil
    222222000000111111211211(t1)(t_{1})122122(t2)(t_{2})200200100100011011022022012012(s1)(s_{1})010010021021(s2)(s_{2})020020001001002002212212220220221221210210201201202202121121102102112112101101110110120120
    Figure 4: Sierpiński graph S33S^{3}_{3}
  3. Case 3:

    Here, we have 22 subcases, which are similar but different in the way they are represented.

    1. (3a)

      The {s2,t2}\{s_{2},t_{2}\} path does not pass through s1s_{1} or t1t_{1}, the {s1,t1}\{s_{1},t_{1}\} path passes through s2s_{2}, and the {s1,t2}\{s_{1},t_{2}\} path passes through s2s_{2}. (For example, consider the case s1=002s_{1}=002, s2=020s_{2}=020, t1=212t_{1}=212, and t2=221t_{2}=221 in Figure 5, where the shortest path between any pair of vertices follows a path along the red line.)
      Therefore, we get:

      d^n(s,t)=dn+1(s1,t1)2\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{1},t_{1})}{2} (10)
      d^n(s,t)=dn+1(s2,t2)+12\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{2},t_{2})+1}{2} (11)
      d^n(s,t)=dn+1(s1,t2)2\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{1},t_{2})}{2} (12)

      Combining equations 10, 11, and 12, we get

      d^n(s,t)=18[dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)+2]\displaystyle\widehat{d}_{n}(s,t)=\frac{1}{8}[d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})+2]
      =dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)8\displaystyle=\left\lceil\frac{d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})}{8}\right\rceil
      222222000000111111211211122122200200100100011011022022012012010010021021020(s2)020(s_{2})001001002(s1)002(s_{1})212212(t1)(t_{1})220220221221(t2)(t_{2})210210201201202202121121102102112112101101110110120120
      Figure 5: Sierpiński graph S33S^{3}_{3}
    2. (3b)

      The {s1,t1}\{s_{1},t_{1}\} path does not pass through s2s_{2} or t2t_{2}, the {s2,t2}\{s_{2},t_{2}\} path passes through t1t_{1}, and the {s1,t2}\{s_{1},t_{2}\} path passes through t1t_{1}. (For example, consider the case s1=002s_{1}=002, s2=020s_{2}=020, t1=212t_{1}=212, and t2=221t_{2}=221 in Figure 5, where the shortest path between any pair of vertices follows a path along the red line.)
      Therefore, we get:

      d^n(s,t)=dn+1(s1,t1)+12\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{1},t_{1})+1}{2} (13)
      d^n(s,t)=dn+1(s2,t2)2\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{2},t_{2})}{2} (14)
      d^n(s,t)=dn+1(s1,t2)2\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{1},t_{2})}{2} (15)

      Combining equations 13, 14, and 15, we get

      d^n(s,t)=18[dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)+2]\displaystyle\widehat{d}_{n}(s,t)=\frac{1}{8}[d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})+2]
      =dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)8\displaystyle=\left\lceil\frac{d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})}{8}\right\rceil

    From here on, we will be referring to any pair of vertices (s1,s2)(s_{1},s_{2}) and (t1,t2)(t_{1},t_{2}) adhering to cases 3a or 3b as Case 3:.

  4. Case 4:

    The paths {s2,t2}\{s_{2},t_{2}\}, {s1,t1}\{s_{1},t_{1}\}, and {s1,t2}\{s_{1},t_{2}\} do not encounter the remaining 2 vertices. (For example, consider the case s1=002s_{1}=002, s2=020s_{2}=020, t1=112t_{1}=112, and t2=121t_{2}=121 in Figure 1) Therefore, we get:

    d^n(s,t)=dn+1(s1,t1)+12\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{1},t_{1})+1}{2} (16)
    d^n(s,t)=dn+1(s2,t2)+12\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{2},t_{2})+1}{2} (17)
    d^n(s,t)=dn+1(s1,t2)+12\widehat{d}_{n}(s,t)=\frac{d_{n+1}(s_{1},t_{2})+1}{2} (18)

    Combining equations 16, 17, and 18, we get

    d^n(s,t)=18[dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)+4]\displaystyle\widehat{d}_{n}(s,t)=\frac{1}{8}[d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})+4]
    =dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)8\displaystyle=\left\lceil\frac{d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})}{8}\right\rceil

Thus, from these four exhaustive cases, we can safely conclude that equation 1 holds:

d^n(s,t)=dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)8\displaystyle\widehat{d}_{n}(s,t)=\left\lceil\frac{d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2})}{8}\right\rceil
222222000000111111211211122122200200100100011011022022012012010010021021020(s2)020(s_{2})001001002(s1)002(s_{1})212212220220221221210210201201202202121121(t2)(t_{2})102102112112(t1)(t_{1})101101110110120120
Figure 6: Sierpiński graph S33S^{3}_{3}

Definitions:

  1. 1.

    δ(n)(s,t)=dn+1(s1,t1)+dn+1(s1,t2)+dn+1(s2,t1)+dn+1(s2,t2)\delta^{(n)}(s,t)=d_{n+1}(s_{1},t_{1})+d_{n+1}(s_{1},t_{2})+d_{n+1}(s_{2},t_{1})+d_{n+1}(s_{2},t_{2}),
    for s,tV(S^3n){0^,1^,2^}s,t\in V(\widehat{S}^{n}_{3})\setminus\{\widehat{0},\widehat{1},\widehat{2}\}

  2. 2.

    δ(n)(s)=tV(S^3n)δ(n)(s,t)\delta^{(n)}(s)=\sum_{t\in V^{\prime}(\widehat{S}^{n}_{3})}\delta^{(n)}(s,t), where V(S^3n)=V(S^3n){0^,1^,2^}V^{\prime}(\widehat{S}^{n}_{3})=V(\widehat{S}^{n}_{3})\setminus\{\widehat{0},\widehat{1},\widehat{2}\}

When now consider the distances between any two vertices ss and tt, where s,tV(S^n){0^,1^,2^}s,t\in V(\widehat{S}^{n})\setminus\{\widehat{0},\widehat{1},\widehat{2}\}, and try to find bounds for δ(n)(s,t)\delta^{(n)}(s,t). The following lemma would be crucial in determining the bounds for δ(n)(s,t)\delta^{(n)}(s,t).

Lemma 4.5.

δ(n)(s,t)x\delta^{(n)}(s,t)\equiv x (mod(\mathrm{mod} 8)8), where x{0,4,6}x\in\{0,4,6\}

Remark 1.

If we consider some sV(S^n){0^,1^,2^}s\in V(\widehat{S}^{n})\setminus\{\widehat{0},\widehat{1},\widehat{2}\}, then:

dn+1(s1)+dn+1(s2)=δ(n)(s).d^{\prime}_{n+1}(s_{1})+d^{\prime}_{n+1}(s_{2})=\delta^{(n)}(s).

We now look at the distances of all non-median vertices from all other
vertices of the Sierpiński triangle graph S^3n\widehat{S}^{n}_{3}.

Lemma 4.6.

If V(S^3n)=V(S^3n){i^,j^,k^}V^{\prime}(\widehat{S}^{n}_{3})=V(\widehat{S}^{n}_{3})\setminus\{\widehat{i},\widehat{j},\widehat{k}\}, then for any sV(S^3n)M(S^3n)s\in V^{\prime}(\widehat{S}^{n}_{3})\setminus M(\widehat{S}^{n}_{3}), we have

δ(n)(s)+3n38d^n(s)\delta^{(n)}(s)+3^{n}-3\leq 8\widehat{d}^{\prime}_{n}(s)
Proof.

We start by defining non-clique edges for Sierpiński graphs.

Definition 1.

Non-clique edges in a Sierpiński graphs are those edges which do not belong to a 33-cycle and which when contracted from the vertices of S^3n\widehat{S}^{n}_{3}.

We consider here all non-clique edges in subgraph iS3niS^{n}_{3}, whose end vertices are non-median vertices. We extend this result to the rest of the graph S3n+1S^{n+1}_{3} by symmetry. We add some value r{0,1,2,3,4,5,6,7}r\in\{0,1,2,3,4,5,6,7\} to some xx, so that xx is perfectly divisible by 8, that is, x8\lceil\frac{x}{8}\rceil=x+r8\frac{x+r}{8}. Before we delve into the proof, we define the concept of parallel edges in Sierpiński graphs.

Definition 2.

In a Sierpiński graph S3nS^{n}_{3}, any two edges {s1,s2}\{s_{1},s_{2}\} and {t1,t2}\{t_{1},t_{2}\} are called parallel edges if d(s1,t1)=d(s2,t2)d(s_{1},t_{1})=d(s_{2},t_{2}), given that s1=s1¯js_{1}=\underline{s^{\prime}_{1}}j, s2=s2¯ks_{2}=\underline{s^{\prime}_{2}}k, t1=t1¯jt_{1}=\underline{t^{\prime}_{1}}j, and t2=t2¯kt_{2}=\underline{t^{\prime}_{2}}k, where s1¯,s2¯,t1¯,t2¯Tn1\underline{s^{\prime}_{1}},\underline{s^{\prime}_{2}},\underline{t^{\prime}_{1}},\underline{t^{\prime}_{2}}\in T^{n-1} and j,kTj,k\in T.

  1. Case A1:

    We consider all non-clique edges {s1,s2}E(S3n+1)\{s_{1},s_{2}\}\in E(S^{n+1}_{3}) parallel to the edge {ikn,kin}\{ik^{n},ki^{n}\}. All non-clique edges {t1,t2}\{t_{1},t_{2}\} in the subgraph jS3njS^{n}_{3} have value δ(n)(s,t)4\delta^{(n)}(s,t)\equiv 4 or 66 (mod(\mathrm{mod} 8)8) as they follow a path similar to Case 2: or Case 4:. (For example, let us consider s1=0022s_{1}=0022, s2=0200s_{2}=0200, t1=1022t_{1}=1022 and t2=1200t_{2}=1200 in Figure 7) There are 3n32\frac{3^{n}-3}{2} such edges.

  2. Case A2:

    We consider all non-clique edges {s1,s2}E(S3n+1)\{s_{1},s_{2}\}\in E(S^{n+1}_{3}) parallel to the edge {ijn,jin}\{ij^{n},ji^{n}\}. All non-clique edges {t1,t2}\{t_{1},t_{2}\} in the subgraph kS3nkS^{n}_{3} have value δ(n)(s,t)4\delta^{(n)}(s,t)\equiv 4 or 66 (mod(\mathrm{mod} 8)8) as they follow a path similar to Case 2: or Case 4:. (For example, let us consider s1=0001s_{1}=0001, s2=0010s_{2}=0010, t1=2012t_{1}=2012 and t2=2021t_{2}=2021 in Figure 7) There are 3n32\frac{3^{n}-3}{2} such edges.

  3. Case A3:

    We now consider all edges in S3n+1S^{n+1}_{3} of form {s1,s2}\{s_{1},s_{2}\}={imjknm,imkjnm}\{i^{m}jk^{n-m},i^{m}kj^{n-m}\}, for all 2mn12\leq m\leq n-1. (For example, let us consider s1=0012s_{1}=0012, and s2=0021s_{2}=0021 in Figure 7)

    1. Case A3a:

      All non-clique edges {t1,t2}\{t_{1},t_{2}\} parallel to {s1,s2}\{s_{1},s_{2}\} in the subgraphs of form iljS3nli^{l}jS^{n-l}_{3} and ilkS3nli^{l}kS^{n-l}_{3} (for all 0lm10\leq l\leq m-1) have value δ(n)(s,t)6\delta^{(n)}(s,t)\equiv 6 (mod(\mathrm{mod} 8)8) as they follow a path similar to Case 3:. (For example, let us consider t1=0212t_{1}=0212 and t2=0221t_{2}=0221 in Figure 7) For each of these, there are 2(3nl2+3nl3++30)=2(3^{n-l-2}+3^{n-l-3}+\cdots+3^{0})= such edges.

    2. Case A3b:

      Now we consider the edges e1={ijn,jin}e_{1}=\{ij^{n},ji^{n}\} and e2={ikn,kin}e_{2}=\{ik^{n},ki^{n}\}, where e1,e2E(S3n+1)e_{1},e_{2}\in E(S^{n+1}_{3}). All non-clique edges parallel to edges e1e_{1} and e2e_{2} in subgraphs imjS3nmi^{m}jS^{n-m}_{3} and imkS3nmi^{m}kS^{n-m}_{3}, respectively have value δ(n)(s,t)6\delta^{(n)}(s,t)\equiv 6 (mod(\mathrm{mod} 8)8) as they follow a path similar to Case 3:. There are 2(3nm2+3nm3++30)2(3^{n-m-2}+3^{n-m-3}+\cdots+3^{0}) such edges.

    3. Case A3c:

      All non-clique edges parallel to edges e2e_{2} and e1e_{1} in all subgraphs of form iljS3nli^{l}jS^{n-l}_{3} and ilkS3nli^{l}kS^{n-l}_{3} (for all m+1ln2m+1\leq l\leq n-2), respectively have value δ(n)(s,t)6\delta^{(n)}(s,t)\equiv 6 (mod(\mathrm{mod} 8)8) as they follow a path similar to Case 3:. There are 2(3nl2+3nl3++30)2(3^{n-l-2}+3^{n-l-3}+\cdots+3^{0}) such edges.

    4. Case A3d:

      Moreover, all non-clique edges {t1,t2}\{t_{1},t_{2}\} of form {irjknr,irkjnr}\{i^{r}jk^{n-r},i^{r}kj^{n-r}\}
      (for all 0rn10\leq r\leq n-1 and rmr\neq m) have value δ(n)(s,t)6\delta^{(n)}(s,t)\equiv 6 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 2:. (For example, let us consider t1=0122t_{1}=0122 and t2=0211t_{2}=0211 in Figure 7) There are n1n-1 such edges.

    \therefore Total no.of edges with value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) in Case A3: are:

    m=0n2(2l=0l=m3l)+(n1)\displaystyle\sum_{m=0}^{n-2}(2\sum_{l=0}^{l=m}3^{l})+(n-1) =m=0n2(3m+11)+(n1)\displaystyle=\sum_{m=0}^{n-2}(3^{m+1}-1)+(n-1)
    =m=0n2(3m+1)\displaystyle=\sum_{m=0}^{n-2}(3^{m+1})
    =3n32\displaystyle=\frac{3^{n}-3}{2}
  4. Case A4:

    Now we consider all the remaining non-clique edges {s1,s2}\{s_{1},s_{2}\}. All these non-clique edges are parallel to the edge {jkn,kjn}\{jk^{n},kj^{n}\} and lie in some subgraph of form imjS3nmi^{m}jS^{n-m}_{3} or imkS3nmi^{m}kS^{n-m}_{3}, where m[1,n2]m\in[1,n-2]. (For example, let us consider s1=0212s_{1}=0212 and s2=0221s_{2}=0221 in Figure 7)

    1. Case A4a:

      All non-clique edges {t1,t2}\{t_{1},t_{2}\} parallel to {s1,s2}\{s_{1},s_{2}\} in all subgraphs of form iljSnli^{l}jS^{n-l} and ilkSnli^{l}kS^{n-l}, where l[0,m1]l\in[0,m-1], have value δ(n)(s,t)6\delta^{(n)}(s,t)\equiv 6 (mod(\mathrm{mod} 8)8). (For example, let us consider t1=2012t_{1}=2012 and t2=2021t_{2}=2021 in Figure 7) For each of these cases, we have 23nl32×32\frac{3^{n-l}-3}{2\times 3} such edges.

    2. Case A4b:

      Now we consider the edges e1={imkinm,im+1knm}e_{1}=\{i^{m}ki^{n-m},i^{m+1}k^{n-m}\} and e2={imjinm,im+1jnm}e_{2}=\{i^{m}ji^{n-m},i^{m+1}j^{n-m}\}, where e1,e2E(S3n+1)e_{1},e_{2}\in E(S^{n+1}_{3}). If {s1,s2}E(imjS3nm)\{s_{1},s_{2}\}\in E(i^{m}jS^{n-m}_{3}) then we consider edge e2e_{2} and if {s1,s2}E(imkS3nm)\{s_{1},s_{2}\}\in E(i^{m}kS^{n-m}_{3}) then we consider edge e2e_{2}. We name our choice of jj or kk as pp and our choice of edge e1e_{1} or e2e_{2} as ee.

      For all non-clique edges {t1,t2}\{t_{1},t_{2}\} parallel to ee in subgraph im(3ip)S3nmi^{m}(3-i-p)S^{n-m}_{3} have value δ(n)(s,t)6\delta^{(n)}(s,t)\equiv 6 (mod(\mathrm{mod} 8)8). (For example, let us consider t1=0101t_{1}=0101 and t2=0110t_{2}=0110 in Figure 7) There are 3nm32×3\frac{3^{n-m}-3}{2\times 3} such edges. For all non-clique edges {t1,t2}\{t_{1},t_{2}\} parallel to ee in subgraph im+1S3nmi^{m+1}S^{n-m}_{3} have value δ(n)(s,t)4\delta^{(n)}(s,t)\equiv 4 (mod(\mathrm{mod} 8)8). (For example, let us consider t1=0001t_{1}=0001 and t2=0010t_{2}=0010 in Figure 7) There are 3nm32×3\frac{3^{n-m}-3}{2\times 3} such edges.

    3. Case A4c:

      Moving on, now we consider the graph S^3n\widehat{S}^{n}_{3}. We consider the vertex ss in S^3n\widehat{S}^{n}_{3} formed by contracting the edge {s1,s2}\{s_{1},s_{2}\}. Both s1s_{1} and s2s_{2} can be expressed as imqs1i^{m}qs^{\prime}_{1} and imqs2i^{m}qs^{\prime}_{2}, where s1,s2Tnms^{\prime}_{1},s^{\prime}_{2}\in T^{n-m} and qj,kq\in{j,k}. Next we denote d^n(s,im1q)\widehat{d}_{n}(s,i^{m-1}q) by dd. Now we consider all subgraphs of S^3n\widehat{S}^{n}_{3} that have been formed by contracting non-clique edges of subgraphs of S3n+1S^{n+1}_{3} of form il(3iq)S3nli^{l}(3-i-q)S^{n-l}_{3}, where l[0,m1]l\in[0,m-1].

      d^n(s,ilq)=2nmd+r=nmnl+1+2nlx\widehat{d}_{n}(s,i^{l}q)=2^{n-m}-d+\sum_{r=n-m}^{n-l+1}+2^{n-l}-x (19)
      d^n(s,il+1)=d+r=nmnl+1+2nl+x.\widehat{d}_{n}(s,i^{l+1})=d+\sum_{r=n-m}^{n-l+1}+2^{n-l}+x. (20)

      Equating equations 19 and 20, we get x=2nm1dx=2^{n-m-1}-d. So, we consider the vertex tt for which tt lies on the shortest path between ilqi^{l}q and il+1i^{l+1} and also, d^n(t,il+1)=x\widehat{d}_{n}(t,i^{l+1})=x. The edge {t1,t2}\{t_{1},t_{2}\} in S3n+1S^{n+1}_{3} that is contracted to form vertex tt in S^3n\widehat{S}^{n}_{3}, also has value δ(n)(s,t)6\delta^{(n)}(s,t)\equiv 6 (mod(\mathrm{mod} 8)8). (For example, let us consider t1=1220t_{1}=1220 and t2=1202t_{2}=1202 in Figure 7) There are mm such edges in S3n+1S^{n+1}_{3}.

    Now we use FF to represent the set of all the non-clique edges t={t1,t2}t=\{t_{1},t_{2}\} mentioned above in cases Case A4:, Case A4:, and Case A4:.

    tF\displaystyle\sum_{t\in F} δ(n)(s,t)+r8\displaystyle\frac{\delta^{(n)}(s,t)+r}{8}
    =18[tFδ(n)(s,t)+r=0m1{3nr32×3(2×2)}+2(3nm3)2×3+4(3nm3)2×3+2m]\displaystyle=\frac{1}{8}\left[\sum_{t\in F}\delta^{(n)}(s,t)+\sum_{r=0}^{m-1}\{\frac{3^{n-r}-3}{2\times 3}(2\times 2)\}+\frac{2(3^{n-m}-3)}{2\times 3}+\frac{4(3^{n-m}-3)}{2\times 3}+2m\right]
    =18[tFδ(n)(s,t)+3n3]\displaystyle=\frac{1}{8}\left[\sum_{t\in F}\delta^{(n)}(s,t)+3^{n}-3\right]
    Therefore,tV(S^3n)δ(n)(s,t)+r8\displaystyle\text{Therefore,}\sum_{t\in V^{\prime}(\widehat{S}^{n}_{3})}\frac{\delta^{(n)}(s,t)+r}{8} tV(S^3n)δ(n)(s,t)8\displaystyle\leq\sum_{t\in V^{\prime}(\widehat{S}^{n}_{3})}\left\lceil\frac{\delta^{(n)}(s,t)}{8}\right\rceil
    δ(n)(s)+3n38\displaystyle\Longrightarrow\frac{\delta^{(n)}(s)+3^{n}-3}{8} tV(S^3n)δ(n)(s,t)8\displaystyle\leq\sum_{t\in V^{\prime}(\widehat{S}^{n}_{3})}\left\lceil\frac{\delta^{(n)}(s,t)}{8}\right\rceil
    δ(n)(s)+3n3\displaystyle\Longrightarrow\delta^{(n)}(s)+3^{n}-3 8d^n(s)\displaystyle\leq 8\widehat{d}^{\prime}_{n}(s)

However, for the first three cases in Lemma 4.6, namely Case A1:, Case A2:, and Case A3:; let us consider E’ to be the set of all aforementioned non-clique edges t={t1,t2}t=\{t_{1},t_{2}\}, where |E|=3n32|E^{\prime}|=\frac{3^{n}-3}{2}

tEδ(n)(s,t)+28\displaystyle\sum_{t\in E^{\prime}}\frac{\delta^{(n)}(s,t)+2}{8} =18[tEδ(n)(s,t)+3n3]tEδ(n)(s,t)+r8\displaystyle=\frac{1}{8}\left[\sum_{t\in E^{\prime}}\delta^{(n)}(s,t)+3^{n}-3\right]\leq\sum_{t\in E^{\prime}}\frac{\delta^{(n)}(s,t)+r}{8}
tV(S^3n)δ(n)(s,t)+r8\displaystyle\therefore\sum_{t\in V^{\prime}(\widehat{S}^{n}_{3})}\frac{\delta^{(n)}(s,t)+r}{8} tV(S^3n)δ(n)(s,t)8\displaystyle\leq\sum_{t\in V^{\prime}(\widehat{S}^{n}_{3})}\left\lceil\frac{\delta^{(n)}(s,t)}{8}\right\rceil
18[δ(n)(s)+3n3]\displaystyle\Longrightarrow\frac{1}{8}[\delta^{(n)}(s)+3^{n}-3] tV(S^3n)δ(n)(s,t)8\displaystyle\leq\sum_{t\in V^{\prime}(\widehat{S}^{n}_{3})}\left\lceil\frac{\delta^{(n)}(s,t)}{8}\right\rceil
δ(n)(s)+3n3\displaystyle\Longrightarrow\delta^{(n)}(s)+3^{n}-3 8d^n(s)\displaystyle\leq 8\widehat{d}^{\prime}_{n}(s)

Theorem 4.7.

dn(s)>dSn(m)d^{\prime}_{n}(s)>d^{\prime}_{S^{n}}(m), where mM(Sn)m\in M(S^{n}) and sV(Sn)M(Sn)s\in V(S^{n})\setminus M(S^{n})

Proof.

This follows directly from the fact that the average distance of the median vertices is less than the average distance of the non-median vertices. ∎

Refer to caption
Figure 7: S34S^{4}_{3}

We now try to evaluate about the distance of median vertices from other vertices in the Sierpiński triangle graph S^3n\widehat{S}^{n}_{3}.

Lemma 4.8.

If V(S^3n)=V(S^3n){i^,j^,k^}V^{\prime}(\widehat{S}^{n}_{3})=V(\widehat{S}^{n}_{3})\setminus\{\widehat{i},\widehat{j},\widehat{k}\}, then for any mM(S^3n)m\in M(\widehat{S}^{n}_{3}), we have exactly 3n32\frac{3^{n}-3}{2} vertices tV(S^3n)t\in V^{\prime}(\widehat{S}^{n}_{3}) for which δ(n)(m,t)6(mod8)\delta^{(n)}(m,t)\equiv 6(\mathrm{mod}8).

Proof.

We will consider the general S3n+1S^{n+1}_{3} graph. We consider the edge {ijkn1,ikjn1}\{ijk^{n-1},ikj^{n-1}\} in the subgraph iS3niS^{n}_{3} and the edge {jkn,kjn}\{jk^{n},kj^{n}\} and extend it to the rest of the graph S3n+1S^{n+1}_{3} by symmetry. For all xx, we may add some value r{0,1,2,3,4,5,6,7}r\in\{0,1,2,3,4,5,6,7\} to xx so that xx is perfectly divisible by 88, that is, x8\lceil\frac{x}{8}\rceil=x+r8\frac{x+r}{8}.

  1. Case B1:

    We consider the edge {m1,m2}\{m_{1},m_{2}\}={ijkn1,ikjn1}\{ijk^{n-1},ikj^{n-1}\}. (For example, let us consider m1=0122m_{1}=0122 and m2=0211m_{2}=0211 in Figure 7)

    1. Case B1a:

      All non-clique edges {t1,t2}\{t_{1},t_{2}\} in subgraphs jS3njS^{n}_{3} and kS3nkS^{n}_{3}, that are parallel to the edge {m1,m2}\{m_{1},m_{2}\} have value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 3:. (For example, let us consider t1=1012t_{1}=1012 and t2=1021t_{2}=1021 in Figure 7) There are 2(3n2+3n3++30)2(3^{n-2}+3^{n-3}+\cdots+3^{0}) such edges.

    2. Case B1b:

      Now we consider the edges e1={i2jn1,ijin1}e_{1}=\{i^{2}j^{n-1},iji^{n-1}\} and e2={i2kn1,ikin1}e_{2}=\{i^{2}k^{n-1},iki^{n-1}\}. Now all non-clique edges {t1,t2}\{t_{1},t_{2}\} in subgraphs ijS3n1ijS^{n-1}_{3} and ikS3n1ikS^{n-1}_{3} parallel to edges e1e_{1} and e2e_{2}, respectively have value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 3:. (For example, let us consider t1=0202t_{1}=0202 and t2=0220t_{2}=0220 in Figure 7) There are 2(3n3+3n4++30)2(3^{n-3}+3^{n-4}+\cdots+3^{0}) such edges.

    3. Case B1c:

      Moving on all non-clique edges {t1,t2}\{t_{1},t_{2}\} in all subgraphs imjS3nmi^{m}jS^{n-m}_{3} and imkS3nmi^{m}kS^{n-m}_{3} (for all 2mn22\leq m\leq n-2) parallel to e2e_{2} and e1e_{1}, respectively have value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 3:. For each of these cases, there are 2(3nk2+3nk3++30)2(3^{n-k-2}+3^{n-k-3}+\cdots+3^{0}) such edges.

    4. Case B1d:

      Moreover, all non-clique edges {t1,t2}\{t_{1},t_{2}\} of form {imjknm,imkjnm}\{i^{m}jk^{n-m},i^{m}kj^{n-m}\} (for all 0mn10\leq m\leq n-1 and m1m\neq 1) have value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 2:. (For example, let us consider t1=0012t_{1}=0012 and t2=0021t_{2}=0021 in Figure 7) There are n1n-1 such edges.

    \therefore From cases Case B1:, Case B1:, Case B1:, and Case B1:, we get that total vertices tV(S^3n)t\in V^{\prime}(\widehat{S}^{n}_{3}) with value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) are:

    m=0n2(2l=0l=m3l)+(n1)\displaystyle\sum_{m=0}^{n-2}(2\sum_{l=0}^{l=m}3^{l})+(n-1) =m=0n2(3m+11)+(n1)\displaystyle=\sum_{m=0}^{n-2}(3^{m+1}-1)+(n-1)
    =m=0n2(3m+1)\displaystyle=\sum_{m=0}^{n-2}(3^{m+1})
    =3n32\displaystyle=\frac{3^{n}-3}{2}

    All other non-clique edges {t1,t2}\{t_{1},t_{2}\} have value δ(n)(m,t)0\delta^{(n)}(m,t)\equiv 0 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 1:.

  2. Case B2:

    Now we consider the edge {m1,m2}\{m_{1},m_{2}\}={jkn,kjn}\{jk^{n},kj^{n}\}. (For example, let us
    consider m1=1222m_{1}=1222 and m2=2111m_{2}=2111 in Figure 7)

    1. Case B2a:

      We consider the edges e1={ijn,jin}e_{1}=\{ij^{n},ji^{n}\} and e2={ikn,kin}e_{2}=\{ik^{n},ki^{n}\}. All non-clique edges {t1,t2}\{t_{1},t_{2}\} in subgraphs jS3njS^{n}_{3} and kS3nkS^{n}_{3} parallel to edges e1e_{1} and e2e_{2}, respectively have value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 3:. (For example, let us consider t1=2102t_{1}=2102 and t2=2120t_{2}=2120 in Figure 7) There are 2(3n2+3n3++30)2(3^{n-2}+3^{n-3}+\cdots+3^{0}) such edges.

    2. Case B2b:

      Next, all non-clique edges {t1,t2}\{t_{1},t_{2}\} in all subgraphs imjS3nmi^{m}jS^{n-m}_{3} and
      imkS3nmi^{m}kS^{n-m}_{3} (for all 1mn21\leq m\leq n-2) parallel to e2e_{2} and e1e_{1}, respectively have value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 3:. (For example, let us consider t1=0201t_{1}=0201 and t2=0210t_{2}=0210 in Figure 7) For each of these cases, there are 2(3nk2+3nk3++30)2(3^{n-k-2}+3^{n-k-3}+\cdots+3^{0}) such edges.

    3. Case B2c:

      Moreover, all non-clique edges {t1,t2}\{t_{1},t_{2}\} of form {imjknm,imkjnm}\{i^{m}jk^{n-m},i^{m}kj^{n-m}\} (for all 1mn11\leq m\leq n-1) have value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 2:. (For example, let us consider t1=0122t_{1}=0122 and t2=0211t_{2}=0211 in Figure 7) There are n1n-1 such edges.

    \therefore From cases Case B2:, Case B2:, and Case B2:, we get that total vertices tV(S^3n)t\in V^{\prime}(\widehat{S}^{n}_{3}) with value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) are:

    m=0n2(2l=0l=m3l)+(n1)\displaystyle\sum_{m=0}^{n-2}(2\sum_{l=0}^{l=m}3^{l})+(n-1) =m=0n2(3m+11)+(n1)\displaystyle=\sum_{m=0}^{n-2}(3^{m+1}-1)+(n-1)
    =m=0n2(3m+1)\displaystyle=\sum_{m=0}^{n-2}(3^{m+1})
    =3n32\displaystyle=\frac{3^{n}-3}{2}

    All other non-clique edges {t1,t2}\{t_{1},t_{2}\} have value δ(n)(m,t)0\delta^{(n)}(m,t)\equiv 0 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 1: as we will prove in Theorem 4.9.

Thus, we get that for any mM(S^3n)m\in M(\widehat{S}^{n}_{3}), we have exactly 3n32\frac{3^{n}-3}{2} vertices tV(S^3n)t\in V^{\prime}(\widehat{S}^{n}_{3}) for which δ(n)(m,t)6(mod8)\delta^{(n)}(m,t)\equiv 6(\mathrm{mod}8).

Theorem 4.9.

All non-clique edges other than the ones specified in proof of Lemma 4.8 have value δ(n)(m,t)0\delta^{(n)}(m,t)\equiv 0 (mod(\mathrm{mod} 8)8).

Proof.

We consider the non-clique edge in {m1,m2}\{m_{1},m_{2}\}={iljknl,ilkjnl}\{i^{l}jk^{n-l},i^{l}kj^{n-l}\}, where l{0,1}l\in\{0,1\} and then we can extend this to the rest of the graph by virtue of symmetry. (For example, let us consider s1=0122s_{1}=0122 and s2=0211s_{2}=0211 in Figure 7)

  1. Case C1:

    All non-clique edges in subgraphs jp+1S3npj^{p+1}S^{n-p}_{3} and kp+1S3npk^{p+1}S^{n-p}_{3}, where 0pl10\leq p\leq l-1, that are not parallel to the edge {jkn,kjn}\{jk^{n},kj^{n}\} have value δ(n)(m,t)0\delta^{(n)}(m,t)\equiv 0 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 1:. (For example, let us consider t1=2002t_{1}=2002 and t2=2020t_{2}=2020 in Figure 7)

  2. Case C2:

    Now we consider the edges e1={ijn,jin}e_{1}=\{ij^{n},ji^{n}\} and edge e2={ikn,kin}e_{2}=\{ik^{n},ki^{n}\}. All edges in subgraphs iljSnli^{l}jS^{n-l} and ilkSnli^{l}kS^{n-l} not parallel to e1e_{1} and e2e_{2}, respectively have value δ(n)(m,t)0\delta^{(n)}(m,t)\equiv 0 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 1:. (For example, let us consider t1=0201t_{1}=0201 and t2=0210t_{2}=0210 in Figure 7)

  3. Case C3:

    Next, all non-clique edges not parallel to lines e2e_{2} and e1e_{1} in subgraphs irjSnri^{r}jS^{n-r} and irkSnri^{r}kS^{n-r}, respectively where r[l+1,n]r\in[l+1,n] have value δ(n)(m,t)0\delta^{(n)}(m,t)\equiv 0 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 1:.

  4. Case C4:

    All other non-clique edges of form either {imjinm,im+1jnm}\{i^{m}ji^{n-m},i^{m+1}j^{n-m}\} or
    {imkinm,im+1knm}\{i^{m}ki^{n-m},i^{m+1}k^{n-m}\}, where m[0,n1]m\in[0,n-1], have value δ(n)(m,t)0\delta^{(n)}(m,t)\equiv 0 (mod(\mathrm{mod} 8)8) as it follows a path similar to Case 1:. (For example, let us consider t1=0011t_{1}=0011 and t2=0100t_{2}=0100 in Figure 7)

All cases Case C1:, Case C2:, Case C3:, and Case C4:, are an exhaustive set of all vertices that are not accounted for in cases Case B1:, and Case B2:.

Theorem 4.10.

For m1,m2M(S3n+1)m_{1},m_{2}\in M(S^{n+1}_{3}), where m1m_{1} and m2m_{2} form a non-clique edge, we have mV(S^3n)m\in V(\widehat{S}^{n}_{3}), which is formed by contracting the edge {m1,m2}\{m_{1},m_{2}\}, then we get that:

8d^n(m)=δ(n)(m)+3n38\widehat{d}^{\prime}_{n}(m)=\delta^{(n)}(m)+3^{n}-3
Proof.

We know that, for all x, we may add some value r{0,1,2,3,4,5,6,7}r\in\{0,1,2,3,4,5,6,7\} to xx so that xx is perfectly divisible by 88, that is, x8\lceil\frac{x}{8}\rceil=x+r8\frac{x+r}{8}. As we have seen that, there are exactly 3n32\frac{3^{n}-3}{2} non-clique edges that have value δ(n)(m,t)6\delta^{(n)}(m,t)\equiv 6 (mod(\mathrm{mod} 8)8) for any choice of non-clique edge {m1,m2}\{m_{1},m_{2}\}, whose end vertices are medians of S3n+1S^{n+1}_{3}. Let, us say the set of all the 3n32\frac{3^{n}-3}{2} non-clique edges {t1,t2}\{t_{1},t_{2}\} represented by tt is called EE^{\prime}.
We use Theorem 4.9 and the already established equation in Lemma 4.8, we get that:

tEδ(n)(m,t)+r8\displaystyle\sum_{t\in E^{\prime}}\frac{\delta^{(n)}(m,t)+r}{8} =tEδ(n)(m,t)+28\displaystyle=\sum_{t\in E^{\prime}}\frac{\delta^{(n)}(m,t)+2}{8}
=18[tEδ(n)(m,t)+3n3]\displaystyle=\frac{1}{8}\left[\sum_{t\in E^{\prime}}\delta^{(n)}(m,t)+3^{n}-3\right]
tV(S3n+1)δ(n)(m,t)+r8\displaystyle\therefore\sum_{t\in V^{\prime}(S^{n+1}_{3})}\frac{\delta^{(n)}(m,t)+r}{8} =tV(S3n+1)δ(n)(m,t)8\displaystyle=\sum_{t\in V^{\prime}(S^{n+1}_{3})}\left\lceil\frac{\delta^{(n)}(m,t)}{8}\right\rceil
δ(n)(m)+3n38\displaystyle\Longrightarrow\frac{\delta^{(n)}(m)+3^{n}-3}{8} =tV(S3n+1)δ(n)(m,t)8\displaystyle=\sum_{t\in V^{\prime}(S^{n+1}_{3})}\left\lceil\frac{\delta^{(n)}(m,t)}{8}\right\rceil
δ(n)(m)+3n3\displaystyle\Longrightarrow\delta^{(n)}(m)+3^{n}-3 =8d^n(m)\displaystyle=8\widehat{d}^{\prime}_{n}(m)

Theorem 4.11.

Let us consider all vertices mV(S^n)m\in V(\widehat{S}^{n}) that are formed by contracting non-clique edges of S3n+1S^{n+1}_{3}, whose end vertices belong to M(S3n+1)M(S^{n+1}_{3}). Then, mM(S^3n)m\in M(\widehat{S}^{n}_{3}).

Proof.

Using Theorem 4.7 and Remark 1, we get —

dn+1(s1)+dn+1(s2)2>dn+1(m1)+dn+1(m2)2\displaystyle d^{\prime}_{n+1}(s_{1})+d^{\prime}_{n+1}(s_{2})-2>d^{\prime}_{n+1}(m_{1})+d^{\prime}_{n+1}(m_{2})-2
δ(n)(s)>δ(n)(m)\displaystyle\Longrightarrow\delta^{(n)}(s)>\delta^{(n)}(m)
Now we use Lemma 4.6 and Theorem 4.10, we get —
8d^n(s)δ(n)(s)+3n3>δ(n)(m)+3n3=8d^n(m)\displaystyle 8\widehat{d}^{\prime}_{n}(s)\geq\delta^{(n)}(s)+3^{n}-3>\delta^{(n)}(m)+3^{n}-3=8\widehat{d}^{\prime}_{n}(m)
d^n(s)>d^n(m)\displaystyle\Longrightarrow\widehat{d}^{\prime}_{n}(s)>\widehat{d}^{\prime}_{n}(m)

Thus, we have proved Theorem 4.1.

References

  • [1] Hinz, A. M., Holz auf der Heide, C., Zemljič, S. S., Metric properties of Sierpiński Triangle Graphs, Discrete Applied Mathematics 319 (2022), 439–453.
  • [2] Balakrishnan, K., Changat, M., Hinz, A. M., Lekha, D. S., The median of Sierpiński graphs, Discrete Applied Mathematics, 319 (2022), 159–170.
  • [3] Hinz, A. M., Klavžar, S., Petr, C., The Tower of Hanoi—Myths and Maths, Second Edition, Springer, Cham, 2018.
  • [4] Hinz, A. M., Klavžar, S., Zemljič, S. S., A survey and classification of Sierpiński-type graphs, Discrete Applied Mathematics 217 (2017), 565–600.
  • [5] Hinz, A. M., Holz auf der Heide, C., An efficient algorithm to determine all shortest paths in Sierpiński graphs, Discrete Applied Mathematics 177 (2014), 111–120.
  • [6] Hernández, J. M., and Mieghem, P. V., Classification of graph metrics, Delft University of Technology: Mekelweg, The Netherlands (2011): 1-20.
  • [7] Teguia, A. M., Godbole, A. P., Sierpiński gasket graphs and some of their properties, Australasian Journal of Combinatorics 35 (2006), 181–192.
  • [8] Stewart, I., Four encounters with Sierpiński’s gasket, The Mathematical Intelligencer 17, 52–64 (1995).
  • [9] Barthelemy, J. P., and Monjardet, B., The median procedure in cluster analysis and social choice theory, Mathematical Social Sciences 1.3 (1981): 235-267.