Abstract
This paper is devoted to the study of the arithmetic graph of a composite number m, denoted by . It has been observed that there exist different composite numbers for which the arithmetic graphs are isomorphic. It is proved that the maximum distance between any two vertices of is two or three. Conditions under which the vertices have the same degrees and neighborhoods have also been identified. Symmetric behavior of the vertices lead to the study of the metric dimension of which gives minimum cardinality of vertices to distinguish all vertices in the graph. We give exact formulae for the metric dimension of , when m has exactly two distinct prime divisors. Moreover, we give bounds on the metric dimension of , when m has at least three distinct prime divisors.
MSC:
05C12; 05C69
1. Introduction
All graphs considered in this paper are simple, undirected, connected and finite. A graph G consists of two sets, and , known as the vertex set and the edge set of G, respectively. The elements of and are called the vertices and edges of G, respectively. An element e of is an unordered pair of two elements say of and the two vertices x and y forming edge e are called adjacent vertices and written as . The set is called the open neighborhood of y in G, denoted as . The set is called the closed neighborhood of y in G, denoted as . and will be denoted by and respectively if G is clear from the context. Please note that the between the two vertices u and v of a graph G, denoted by and if G is clear from the context, is the minimum number of edges traversed from u to v in G. For basic concepts of graph theory, please see [1].
The concept of resolving set and the metric dimension of a graph was introduced by Slater [2] as well as by Harary and Melter [3] independently. Slater used this concept for uniquely identifying the location of a vertex in the graph. Applications of this concept exists in coin-weighing problems [4,5], Master mind game [6], digital images [7], chemistry [8], isomorphism problem [9], network discovery and verification [10]. Moreover, Bailey and Cameron used this concept and obtained bounds on the possible orders of primitive permutation groups [11] (see also [12]).
A subset R of the vertices of a graph G satisfying the property that for every two distinct vertices there exist such that is called a for G and denotes the minimum cardinality of a resolving set for G which we called the of G. Due to the fact that finding the metric dimension of a graph is NP-complete [13,14] and it has applications in different fields, many researchers put their attention towards computing this parameter for known classes of graphs. For example, this parameter is studied in Cayley digraphs [15], wheels [16], unicyclic graphs [17], Cartesian products [18] and trees [2,3]. Moreover, Imran et al. studied the metric dimension of gear graphs [19] and symmetric graphs obtained by rooted product [20], Hussain et al. [21] studied the metric dimension of 2D lattice of alpha-boron nanotubes, Bailey et al. [11] studied the metric dimension of Johnson and Kneser graphs, Ahmad et al. [22] studied the metric dimension of generalized Petersen graphs, Min Feng et al. [23] studied the metric dimension of the power graph of a finite group. Recently, Gerold and Frank [24] studied the metric dimension of and proved that where is the set of modulo classes of a natural number . Here in this article, we study the metric dimension of an arithmetic graph associated with a composite number.
Connections between number theory and graph theory have been studied by many authors, for examples see [25,26,27,28]. We observe that different numbers exhibit similar characteristics in connection with graphs. The graph associated with a given composite number form equivalence classes, for example, vertices can be partitioned based on twin classes. Distinguishing vertices of graphs using distances has been an interesting problem and gives useful insights about the structure of the graphs. Hence metric dimension of an arithmetic graph is being studied to grasp properties of the arithmetic graph. Throughout this paper, m is a composite number with the prime decomposition …, where , are distinct primes and for each . Every positive divisor of m has the form , where for each i and at least one for some i. If for some i, then is called a of x and the factor is called a of x if . Two distinct divisors of m are said to have same if they have same primary factors (i.e., and have same parity). An arithmetic graph of a composite number m has the vertex set which contains all possible divisors of m. Further two distinct vertices are adjacent if and only if they have different parity and (greatest common divisor) for some . In [29,30], the authors studied the domination parameters of an arithmetic graphs. In [31], Suryanarayana and Sreenivansan studied the split domination in arithmetic graphs. Moreover, Vasumathi and Vangipuram [32] studied annihilator domination in arithmetic graphs.
In the next section, we study the diameter of and prove that it is either 2 or 3, for any choice of composite number m. We study the properties of false twin vertices in arithmetic graphs. We study the metric dimension of and give formulae for when m has exactly two primary factors. Moreover, we give bounds on the metric dimension of when m has at least three primary factors. We also prove that there exist different composite numbers for which the arithmetic graphs are isomorphic.
2. Results
Please note that for every …, where , are distinct primes and for each , the arithmetic graph is connected. In the next proposition, we give formula for the order of .
Proposition 1.
For every composite number m, we have .
The of a vertex p in a graph G is the cardinality of its open neighborhood, denoted as (simply ). The next proposition follows directly from the definition of .
Proposition 2.
For every primary factor of m, the degree of the vertex is given as , where .
Please note that for every composite number m, the arithmetic graph is connected. Let denote the set of all vertices of with exactly i primary factors then the collection gives a partition of . The of a graph G, denoted by , is the maximum distance between any pair of vertices of G. In the next theorem, we characterize the arithmetic graphs with respect to diameter.
Theorem 1.
For every composite number , the following assertions hold:
- (i)
- if and only if .
- (ii)
- if and only if .
Proof.
(i) For , no two distinct vertices of have same parity. For any two non-adjacent vertices , we have the following cases:
Case 1. Suppose x and y have no common primary factor, then for any primary factor of x and of y, so .
Case 2. Suppose be a common primary factor of x and y, then . Hence, .
Conversely, suppose , we are to show that . Assume contrary that , then there exist at least one primary factor such that and when and , a contradiction. Hence, .
(ii) Suppose , then by part (i), .
Conversely, suppose , we are to show that . For any two non-adjacent distinct vertices , we have the following cases:
Case 1. Suppose and have distinct parity then , where is a primary factor of x and is a primary factor of y. Also, if have same parity then for any , , . Hence, .
Case 2. Suppose , be two non-adjacent vertices. Since no two vertices of are adjacent, further suppose no two vertices of are adjacent and y is not adjacent to any . Hence, .
Case 3. For and ; , we have .
Case 4. Suppose and ; be two distinct vertices. Suppose x and y have a primary common factor say , then because . If have no common primary factor then , where is a primary factor of x and is a primary factor of y.
By concluding the above four cases, we have . □
In the next proposition, we describe the conditions on the exponents of the primary factors of m under which they have same degrees.
Proposition 3.
For any two distinct primary factors and of a composite number m, in if and only if .
Proof.
Suppose , we are to show that . Assume contrary that and , then for . Since, and so because gives a partition of , a contradiction. Hence, .
Conversely, suppose that for any two distinct primary factors of m, then for . Hence, . □
Two distinct vertices u and v are called ( ) if (). Two vertices are called if they are either true twins or false twins. For any composite number such that for each i and , has no twins. Furthermore, no two adjacent vertices of are twins. In next lemma, we prove that any two twin vertices in have same parity which gives that both belong to for some i.
Lemma 1.
Any two distinct vertices in an arithmetic graph of a composite number ; are twins if and only if they have same parity and for any prime factor of x and y such that α is exponent of in x and β is exponent of in y, if , then and if with , then .
Proof.
Suppose are twins in and have distinct parity. If is a factor of x and is not a factor of y, then which directly follows from the definition of the arithmetic graph. Hence, have same parity. Now suppose is a factor of x and y such that and , we are to show that . Assume contrary that , then . Next suppose that and , we are to show that . Assume contrary that , then by the definition of the arithmetic graph are not twins, a contradiction. Hence, .
The converse follows directly from the definition of the arithmetic graph, when x and y have same parity and for any prime factor of x and y such that is exponent of in x and is exponent of in y, if , then and if with , then . □
Metric Dimension of Arithmetic Graphs
The following result helps in finding resolving sets and the metric dimension of a graph containing twins.
Corollary 1.
([33]). Suppose R is a resolving set for a connected graph G and are twins. Then a or b is in R. Moreover, if and , then is also a resolving set for G.
For a composite number m with the canonical form , the arithmetic graph is isomorphic to a path graph on three vertices and has metric dimension 1. In the next result, we find the metric dimension of when m has exactly two distinct primary factors.
Theorem 2.
For every composite number m with the canonical form , where and , we have
- (i)
- For and , .
- (ii)
- For and , .
- (iii)
- For and , .
- (iv)
- For and , .
- (v)
- For , .
Proof.
Using the definition of the arithmetic graph, we have . As, for with is not a path graph so .
(i) For and , the set is a resolving set for . Hence, .
(ii) For and , the classes , and are equivalence classes of false twins in and by using Corollary 1, we have . Consider , , we prove that W is a resolving set for . Let then we have following cases:
Case 1. Suppose yields that and and such that .
Case 2. Suppose yields that and and there exist such that .
Case 3. Suppose and yields that and and there exist such that .
Concluding all above cases, W is a resolving set for . Hence, .
(iii) For and , suppose that , then any resolving set W will have the form . Let then W is not a resolving set for because does not resolves and and does not resolves the pair and . Furthermore, for any , W is not a resolving set for , hence . Now, the set is a resolving set for so .
(iv) For and , the classes , , and are equivalence classes of false twins in . Corollary 1 gives that . Consider satisfying the conditions of Corollary 1 and note that for , then for each which gives that W is not a resolving set for . Hence, . Now to prove that , we only need to prove that is a resolving set for . Let , we study the following cases:
Case 1. Suppose implies that and and such that .
Case 2. Suppose then . For and there exist such that . For and there exist such that . For and there exist such that . For and there exist such that . Now for and there exist such that .
Case 3. Suppose and implies that and . For and there exist such that . Now for and there exist such that .
Concluding all above cases is a resolving set for .
(v) For , the sets , , , , and are equivalence classes of false twins. Corollary 1 gives that . Now to prove that we only need to prove that is a resolving set for . Let , we study the following cases:
Case 1. Suppose implies that . For and there exist such that . For and there exist such that .
Case 2. Suppose yields that . For and there exist such that . For and there exist such that .
Case 3. Suppose and yields that and . Now for and there exist such that . For and there exist such that . For and there exist such that . Now for and there exist such that .
Concluding all above cases, W is a resolving set for . Hence, . □
The set of bold vertices represented by in Figure 1 forms a minimum resolving set for the arithmetic graph of shown in the figure and the set of bold vertices represented by in Figure 2 forms a minimum resolving set for the arithmetic graph of shown in the figure. Also, the set of bold vertices represented by in Figure 3 forms a minimum resolving set for the arithmetic graph of shown in the figure. Hence, we have the following lemma.
Figure 1.
The arithmetic graph of
Figure 2.
The arithmetic graph of
Figure 3.
The arithmetic graph of
Lemma 2.
For every composite number m with the canonical form such that and at least one , we have .
In the next theorem, we give the formula for the metric dimension of when m has at least four distinct primary factors.
Lemma 3.
For every positive integer m with the canonical form such that and , we have .
Proof.
Consider such that . To show that W is a resolving set for , consider two distinct vertices then x and y have at least two primary factors. First suppose that x and y have same parity then there exists at least one such that is a factor of x and is a factor of y then are resolved by . Now suppose that x and y have different parity then there exists at least one for some i such that is a primary factor of x and is not a primary factor of y. Since, so are resolved by W. Hence, W is a resolving set for which gives that . Now to prove that assume contrary that . Let be a minimum resolving set for . Without loss of generality suppose that . We discuss the following two cases:
Case 1. Suppose then there exists some or such that or . First suppose that and then the vertices and are not resolved by . Suppose and then the vertices and are not resolved by . Hence, any proper subset of is not a resolving set for .
Case 2. Suppose is not a subset of and . Let then there exists two distinct vertices . Since, are not resolved by any vertex in so are resolved by . We have the following subcases:
Subcase 1. Suppose and for some . Since, resolves x and y so exactly one or is a primary factor of . Let is a factor of and is not a primary factor of . Suppose then the vertices and are not resolved by . Now suppose that then the vertices and are not resolved by . Hence, is not a resolving set for .
Subcase 2. Suppose and for some i. Since, are resolved by so must be a secondary factor of . The vertices and are not resolved by for at least one . Hence, is not a resolving set for .
Subcase 3. Suppose and for some . Let , then the vertices and are not resolved by . Now suppose then the vertices and are not resolved by for at least one . Hence, is not a resolving set for .
By all above cases, we conclude that is not a resolving set for . Hence, . □
Lemma 1 gives that if with is a divisor of m, then the set is an equivalence class of false twins in . In the next theorem, we give bounds on the metric dimension of when m has at least three distinct primary factors by using the cardinalities of false twins classes of .
Theorem 3.
Let m be a composite number with the canonical form with . Let be an integer such that for each and for each . Then,
where , and with .
Proof.
Let be defined as where and satisfies the property for each equivalence class C of false twins in . Clearly, and . Since, so . To prove the upper bound, we only need to show that W is a resolving set for . Consider two distinct vertices then we have the following cases:
Case 1. Suppose have different parity then there exists at least one primary factor say which is a primary factor of x and not a primary factor of y which gives that . Hence, are resolved by W.
Case 2. Suppose have same parity then there exists at least one primary factor such that is a factor of x and is a factor of y, where . We discuss the following cases:
Subcase 1. Suppose , and or and . Since and so W resolves .
Subcase 2. Suppose , then we have and or and . Suppose and then such that and . Similar arguments hold for and . Hence, W resolves .
By combining all above cases, W is a resolving set for so .
The lower bound directly follows from Corollary 1 and Lemma 1. Hence, . □
The lower bound given above is sharp as for . For any two distinct composite numbers and , the number of possible divisors of m and n are equal if and only if the number of factors with exponent i in m and n are equal. In the next theorem, we proved that there exist different composite numbers for which the arithmetic graphs are isomorphic.
Theorem 4.
For any two different composite numbers m and n with the canonical forms and , if and only if the number of primary factors with exponent i in m and n are equal. In particular, if , then and .
Proof.
For , so result is true.
Conversely, suppose number of factors with exponent i in are equal. Define a map , as such that and . In general, then this map is isomorphism between and . □
For the integers and , note that number of divisors of m and n are equal and above theorem gives that .
3. Conclusions
We have studied properties of arithmetic graphs associated with composite numbers. We gave conditions on which vertices have same degrees and neighborhoods. The metric dimension of when m has exactly two distinct prime factors has been found out. We also found a formula to find out the metric dimension of when m has canonical form with and . Furthermore, we gave bounds on when m has at least three distinct prime divisors. We also proved that there exist distinct composite numbers for which arithmetic graphs are isomorphic graphs.
Author Contributions
All authors have contributed equally in this paper. All authors have read and agreed to the published version of the manuscript.
Funding
This research is supported by the UPAR Grants of United Arab Emirates University, Al Ain, UAE via Grant No. G00002590 and G00003271.
Acknowledgments
The authors are very grateful to the referees for their constructive suggestions and useful comments, which improved this work very much.
Conflicts of Interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Abbreviations
The following abbreviations are used in this manuscript:
| Arithmetic graph of a composite number m with at least two distinct primary divisors | |
| The diameter of a graph G | |
| The metric dimension of a graph G | |
| The degree of a vertex v | |
| The open neighborhood of a vertex v | |
| The distance between the vertices x and y |
References
- Berge, C. The Theory of Graphs and Its Applications; John Wiley and Sons: Hoboken, NJ, USA, 2019. [Google Scholar]
- Slater, P.J. Leaves of trees. Cong. Numer. 1975, 14, 549–559. [Google Scholar]
- Harary, F.; Melter, R.A. On the metric dimension of a graph. ARS Comb. 1976, 2, 191–195. [Google Scholar]
- Sebo, A.; Tannier, E. On metric generators of graphs. Math. Oper. Res. 2004, 29, 383–393. [Google Scholar] [CrossRef]
- Shapiro, H.; Sodeeberg, S. A combinatory detection problem. Am. Math. 1963, 70, 1066–1070. [Google Scholar]
- Chvatal, V. Mastermind. Combinatorica 1983, 3, 325–329. [Google Scholar] [CrossRef]
- Melter, R.A.; Tomescu, I. Metric bases in digital geometry. Comput. Vis. Graphics Image Process. 1984, 25, 113–121. [Google Scholar] [CrossRef]
- Chartrand, G.; Eroh, L.; Jhonson, M.; Oellermann, O. Resolviability in graph and metric dimension of a graph. Discret. App. Math. 2000, 105, 99–133. [Google Scholar] [CrossRef]
- Babai, L. On the complexity of canonical labeling of strongly regular graphs. SIAM J. Comput. 1980, 9, 212–216. [Google Scholar] [CrossRef]
- Beerliova, Z.; Eberhard, F.; Erlebach, T.; Hall, A.; Hoffmann, M.; Mihalak, M.; Ram, L. Network discovery and verification. IEEE J. Sel. Area Commun. 2006, 24, 2168–2181. [Google Scholar] [CrossRef]
- Bailey, R.F.; Caceres, J.; Garijo, D.; Gonzalez, A.; Marquez, A.; Meagher, K.; Puertas, M.L. Resolving sets for Johnson and Kneser graphs. Eur. J. Comb. 2013, 34, 736–751. [Google Scholar] [CrossRef]
- Bailey, R.F.; Cameron, P.J. Base size, metric dimension and other invariants of groups and graphs. Bull. Lond. Math. Soc. 2011, 43, 209–242. [Google Scholar] [CrossRef]
- Garey, M.R.; Johnson, D.S. Computers and Intractability. In A Guide to the Theory of NP-Completeness; Freeman: New York, NY, USA, 1979. [Google Scholar]
- Khuller, S.; Raghavachari, B.; Rosenfeld, A. Landmarks in graphs. Discret. Appl. Math. 1996, 70, 217–229. [Google Scholar] [CrossRef]
- Fehr, M.; Gosselin, S.; Oellermann, O.R. The metric dimension of Cayley digraphs. Discret. Math. 2006, 306, 31–41. [Google Scholar] [CrossRef]
- Shanmukha, B.; Sooryanarayana, B.; Harinath, K.S. Metric dimension of wheels. Far East J. Appl. Math. 2002, 8, 217–229. [Google Scholar]
- Poisson, C.; Zhang, P. The metric dimension of unicyclic graphs. J. Comb. Math. Comb. Comput. 2002, 40, 17–32. [Google Scholar]
- Caceres, J.; Hernando, C.; Mora, M.; Pelayo, I.M.; Puertas, M.L.; Seara, C.; Wood, D.R. On the metric dimension of cartesian products of graphs. SIAM J. Discret. Math. 2007, 21, 423–441. [Google Scholar] [CrossRef]
- Imran, S.; Siddiqui, M.K.; Imran, M.; Hussain, M.; Bilal, H.M.; Cheema, I.Z.; Tabraiz, A.; Saleem, Z. Computing the metric dimension of gear graphs. Symmetry 2018, 10, 209. [Google Scholar] [CrossRef]
- Imran, S.; Siddiqui, M.K.; Imran, M.; Hussain, M. On metric dimensions of symmetric graphs obtained by rooted product. Mathematics 2018, 6, 191. [Google Scholar] [CrossRef]
- Hussain, Z.; Munir, M.; Chaudhary, M.; Kang, M.N. Computing metric dimension and metric basis of 2D lattice of alpha-boron nanotubes. Symmetry 2018, 10, 300. [Google Scholar] [CrossRef]
- Ahmad, S.; Chaudhry, M.A.; Javaid, I.; Salman, M. On the metric dimension of generalized Petersen graphs. Quaest. Math. 2013, 36, 421–435. [Google Scholar] [CrossRef]
- Feng, M.; Ma, X.; Wang, K. The structure and metric dimension of the power graph of a finite group. Eur. J. Comb. 2015, 34, 82–97. [Google Scholar] [CrossRef]
- Jager, G.; Drewes, F. The metric dimension of is ⌊⌋. Comput. Sci. 2019, in press. [Google Scholar]
- Chaluvaraju, B.; Chaitra, V. Sign domination in arithmetic graphs. Gulf J. Math. 2016, 4, 49–54. [Google Scholar]
- Somer, L.; Křížek, M. On a connection of number theory with graph theory. Czechoslovak Math. J. 2004, 54, 465–485. [Google Scholar] [CrossRef]
- Yegnanarayanan, V. Analytic number theory for graph theory. Southeast Asian Bull. Math. 2011, 35, 717–733. [Google Scholar]
- Alon, N.; Erdos, P. An application of graph theory to additive number theory. Eur. J. Comb. 1985, 6, 201–203. [Google Scholar] [CrossRef]
- Saradhi, V. Vangipuram. Irregular graphs. Graph Theory Notes N. Y. 2001, 41, 33–36. [Google Scholar]
- Vasumathi, N.; Vangipuram, S. Existence of a graph with a given domination parameter. In Proceedings of the Fourth Ramanujan Symposium on Algebra and Its Applications, Madras, India, 1–3 February 1995; University of Madras: Madras, India, 1995; pp. 187–195. [Google Scholar]
- Suryanarayana Rao, K.V.; Sreenivansan, V. The split domination in arithmetic graphs. Int. J. Comput. Appl. 2011, 29, 46–49. [Google Scholar]
- Vasumathi, N.; Vangipuram, S. The annihilator domination in some standard graphs and arithmetic graphs. Int. J. Pure Appl. Math. 2016, 106, 123–135. [Google Scholar]
- Hernando, C.; Mora, M.; Pelaya, I.M.; Seara, C.; Wood, D.R. Extremal graph theory for metric dimension and diameter. Electronic Notes Discret. Math. 2007, 29, 339–343. [Google Scholar] [CrossRef]
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).