Abstract
For the construction of a common prime divisor graph, we consider an integer with its prime factorization, where
are distinct primes and
are fixed positive integers. Every divisor of the integer
has the form
, with
. There are
distinct divisors of integer
. Let
be the collection of all positive divisors of
other than integer 1. Then we can define a simple graph on the set of divisors
of
, called a common prime divisor graph
with
as the vertex set, and we insert an edge between two distinct divisors x and y of
if the
. In this article, we will introduce and discuss some basic properties of common prime divisor graphs and we will compute some indices of symmetries associated with a class of such graphs. This study will open a new domain of graphs to investigate their invariant and to explore such indices on the different classes of common prime divisor graphs.
Citation: Koam ANA, Haider A, Ahmad A, Ansari MA (2025) A novel approach to explore common prime divisor graphs and their degree based topological descriptor. PLoS One 20(5): e0323912. https://doi.org/10.1371/journal.pone.0323912
Editor: Deepak Singh, ICAR-IISWC: ICAR Indian Institute of Soil and Water Conservation, INDIA
Received: December 21, 2024; Accepted: April 15, 2025; Published: May 27, 2025
Copyright: © 2025 Koam et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All relevant data are within the paper.
Funding: The authors gratefully acknowledge the funding of the Deanship of Graduate Studies and Scientific Research, Jazan University, Saudi Arabia, through project number: RG24-L04. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Topological indices represent an integral aspect of computational chemistry and provide quantitative descriptors for molecular structures that facilitate the analysis of complex chemical relationships. These indices, rooted in graph theory, offer insights into molecular connectivity without considering spatial arrangement. This summary will delve into the foundational contributions, diverse applications, and recent advancements in topological indices, referencing the key literature [1–6]. Some geometrical properties of annihilator intersection graph of commutative rings are explored in [7] and the embedding of the extended zero-divisor graph of commutative rings are explored in [8].
A pioneering topological index, the Wiener index, was initiated by Harry Wiener in 1947. In fact, this index is the sum of the pairwise shortest distances of paths between atoms in a given molecular graph, offering a calculation of molecular size with its complexity. Wiener, in his seminal paper, “Structural Determination of Paraffin Boiling Points," laid the groundwork for subsequent developments in topological indices by demonstrating the significance of graph-based descriptors for understanding molecular properties [9].
As the field progressed, various topological indices emerged, to capture different aspects of the molecular structure. In 1975, the Randic index, introduced by Milan Randic, concentrated on the balance between high- and low-degree nodes in a molecule, providing a different perspective on its structural features [10]. Additionally, indices such as Zagreb indices [11, 12], eccentricity based indices [13, 14], distance based indices [15], Sombor indices [16, 17], M-polynomial [18] and resistance-based indices [19] contribute to a comprehensive characterization of the molecular structure [20–23].
Topological indices have various application across scientific disciplines. For example, in medicinal chemistry, these indices are used for a fundamental index, that is, "Quantitative Structure-Activity Relationship", also called "QSAR". “Molecular Descriptors for Chemoinformatics," introduced by Todeschini-Consonni, that are used to explore the applications of topological indices modeling of QSAR, has a key role for predicting the toxicity or bioactivity of chemical compounds [24]. Using these structures, researchers have managed to unravel the relationships amongst the molecular structure and its biological activity and, provide the fundamental design of drugs [25, 26].
In particular, degree based topological indices have significant applications including drug design, modeling of quantitative structure-activity relationships (QSARs), and molecular similarity analysis. A rapid and effective technique was developed to compare the connectivity of atoms in various compounds. Moreover, these indices are comparatively easy to compute and compare [27, 28]. Chemical species and chemical processes can be represented as nodes and edges in a graph, which can then be used to depict a chemical network. Chemical reactions link the reactants and products of the reaction at their respective nodes. This enables the chemical network to be described as a directed graph, where each node represents a particular chemical species and each edge for a particular chemical process [29–31].
Owing to the extensive interest in topological concepts related to graphs for ring structures, many researchers have shown their interest in indices studied on zero-divisor graphs defined over rings [15, 32–34].
Topological indices are useful in chemoinformatics for molecular similarity analysis, clustering, and virtual screening. The work of Dehmer and Varmuza in “Advances in Quantitative Structure-Property Relationships" comprehensively discusses the role of topological indices in chemoinformatics, showcasing their versatility in handling large chemical datasets [35].
1 Preliminaries
Consider a connected simple graph with
and
representing the set of vertices and edges of
respectively. Todesehini et al. [36] defined
for
such that
is named the degree of a vertex
and
are connection number of the vertex
We define the index or the general Randić index:
where is a real number and for
, we first obtain the Randić index, then the second modified Zagreb index, and finally second Zagreb index. Here we define
index or general sum-connectivity index;
where is a real number and for
, we get firstly the sum-connectivity, then the first Zagreb index and lastly the hyper-Zagreb index.
We define the GA (geometric-arithmetic) index:
We define the ABC (atom bond connectivity) index as:
We define the AZI (augmented Zagreb) index as:
We define the H (harmonic) index as:
We define the SDD (symmetric division degree) index as:
We define the ReZG1 (first redefined Zagreb) index as:
We define the ReZG2 (second redefined Zagreb) index as:
We define the ReZG3 (third redefined Zagreb) index as:
2 Main results
Consider a positive integer with the prime factorization
where
are distinct prime numbers and each
is a fixed positive integer. Any divisor x of
has the form
where
Note that, the integer
has
number of distinct divisors.
Let be the set of all positive divisors of
Then we define a graph on the set of divisors of
called a common prime divisor graph
with the vertex set
with an edge between any two divisor
and divisor
if
for any
One can easily see that the order of the graph is
Lemma 2.1. Let be a positive integer. Then for any two vertices
and
of the common prime divisor graph
, the distance
or the distance
Moreover, if
then the diameter,
Proof: If for any prime number p, then
If
such that
then for any prime
we obtained a path x–p–y implies that the distance
If
, then for a prime p and a prime q, we see that if p divides x and q divides y, then we have a path x–pq–y and hence
Moreover, if k = 1 and then we have,
Clearly in this case,
and if
then
.
For any divisor of
we partition the set of indices
for x into three sets
and
This partition will help us to construct the following results on the degrees of the common prime divisor graph
.
Theorem 2.2. Let be a positive integer. Then in the graph
- For any
with
Proof:
- The vertex pj is connected to
if and only if
for each
and if
Since
therefore we exclude the case if yi = 0 for all
Clearly,
- The vertex
for
is connected to y if and only if
for all
Clearly,
- For every prime pj|x, we will have one of these two cases.
- Case 1: If pj|x and
then the vertex x is clearly adjacent to vertices
for all
and for
Hence x is adjacent to
number of vertices for every
.
- Case 2: If pj|x and
then x is adjacent to
for all
Hence x is adjacent to
number of vertices for every
.
Since both cases are exclusively independent, therefore, the required degree is the sum of both cases.
Corollary 2.3. For any positive integer if
be a common prime divisor graphs, where p and q are distinct prime numbers, then the
of each vertex
of the common prime divisor graph
is,
and
if
In the following results, we will compute degree-based topological descriptors for common prime divisor graphs using the data from the vertex partition and the edge partitions with degree of vertices. In [37,38], the authors defined the various topological indices based of degrees that contribute intensively in studies of QSAR and QSPR [39–41].
During the proof of following results we may simply denote common prime divisor graph by
Lemma 2.4. Let be a common prime divisor graphs. Then
Proof: The common prime divisor graph has order
and the size
Each vertex of the common prime divisor graph
has degree 2,
,
, or
, vertices of
be partitioned with respect to their degrees. The degree of vertices are given in Corollary 2.3 as:
Let
It implies is containing all the those vertices that have degree i. Correspondingly, we classify all;
From Eqs (11)–(12), we get
and
In the following Eq 13, the desired edge partition is given.
Note that, The cardinality of all edges incident with degree 2 and to a vertex with degree
,
,
are precisely
respectively. So
The cardinality of all edges incident with degree
and to a vertex with degree
is exactly 1. Therefore,
Similarly, he cardinality of all edges incident with degree
and to a vertex with degree
is also 1. Therefore,
Hence,
Theorems given below determine the degree-based topological descriptors of common prime divisor graphs .
Theorem 2.5. Let be a common prime divisor graphs. Then the
index or the general Randić index of the common prime divisor graph
is;
the Randić index of the common prime divisor graph is;
the second Zagreb index of the common prime divisor graph is;
the second modified Zagreb index of the common prime divisor graph is;
the index or the general sum-connectivity index of the common prime divisor graph
is;
the sum-connectivity index of the common prime divisor graph is;
the first Zagreb index of the common prime divisor graph is;
and the hyper-Zagreb index of the common prime divisor graph is;
Proof: In order to find the general Randić index of
we obtain
So
Thus by Lemma 2.4,
For we obtain the Randić index;
Also, for the second Zagreb index is;
Similarly, the second modified Zagreb index for is;
We can obtain the index related to general sum-connectivity as; of
we get
So
Thus by Lemma 2.4,
If then the index related to sum-connectivity is,
If then we get the first Zagreb index
as;
In the case if then the index related to hyper-Zagreb
is;
Theorem 2.6. Let be a common prime divisor graphs. Then the GA index of the graph
is;
the ABC index of the graph is;
the AZI index or the augmented Zagreb index of the graph is;
the H index or the harmonic index of the graph is;
the SDD index of the graph is;
Proof: The GA or the geometric-arithmetic index of the common prime divisor graph we get,
So
and
Thus by Lemma 2.4,
For the ABC index of the common prime divisor graph we obtained
So
and
Thus by Lemma 2.4,
For the AZI index or the augmented Zagreb index of the common prime divisor graph we obtain
So
and
Thus by Lemma 2.4,
For the H index or the harmonic index of the common prime divisor graph we obtain
So
and
Thus by Lemma 2.4,
For the SDD index or the symmetric division degree index of the common prime divisor graph we obtain
So
and
Thus by Lemma 2.4,
Theorem 2.7. Let be a common prime divisor graphs. Then the ReZG1 index of the graph
is;
the ReZG2 index of the graph
is;
the ReZG3 index of the graph is;
Proof: For the ReZG1 index or first redefined Zagreb index of the common prime divisor graph we obtain
So
and
Thus by Lemma 2.4,
For the ReZG2 index or the second redefined Zagreb index of the common prime divisor graph we obtain
So
finally
Thus by Lemma 2.4,
For the ReZG3 index or the third redefined Zagreb index of the common prime divisor graph we obtain
So
and
Thus by Lemma 2.4,
.
3 Conclusion
In this article, we have defined a new class of graphs associated with positive integers called the common prime divisor graphs. We have also explored algebraic formulations and novel topological descriptors related to common prime divisor graphs. The methodology begins by defining the graph for common prime divisor of a fix positive integer and a few results to elucidate the algebraic properties, specifically addressing topological indices function. Subsequently, leveraging those results, we have studied a few degree-based indices for various parameters, including alpha, geometric arithmetic, atom-bond connectivity, augmented Zagreb, Albertson, and redefined Zagreb indices, applied specifically to common prime divisor graphs. This study remains opens to explore for other topological indices and graph invariant associated with the different classes of common prime divisor graphs associated to positive integers.
Acknowledgments
The authors gratefully acknowledge the funding of the Deanship of Graduate Studies and Scientific Research, Jazan University, Saudi Arabia, through project number: RG24-L04.
References
- 1. Ullah A, Qasim M, Zaman S, Khan A. Computational and comparative aspects of two carbon nanosheets with respect to some novel topological indices. Ain Shams Eng J. 2022;13(4):101672.
- 2. Nadeem MF, Imran M, Afzal Siddiqui HM, Azeem M, Khalil A, Ali Y. Topological aspects of metal-organic structure with the help of underlying networks. Arab J Chem. 2021;14(6):103157.
- 3. Khabyah AA, Zaman S, Koam ANA, Ahmad A, Ullah A. Minimum Zagreb eccentricity indices of two-mode network with applications in boiling point and benzenoid hydrocarbons. Mathematics. 2022;10(9):1393.
- 4. Koam ANA, Ansari MA, Haider A, Ahmad A, Azeem M. Topological properties of reverse-degree-based indices for sodalite materials network. Arab J Chem. 2022;15(10):104160.
- 5. Koam ANA, Ahmad A, Haider A, Ansari MA. Computation of eccentric topological indices of zero-divisor graphs based on their edges. MATH. 2022;7(7):11509–18.
- 6. Bashir Y, Aslam A, Kamran M, Qureshi MI, Jahangir A, Rafiq M, et al. On forgotten topological indices of some dendrimers structure. Molecules. 2017;22(6):867. pmid:28538687
- 7. Khabyah A, Ansari MA. Exploring geometrical properties of annihilator intersection graph of commutative rings. Axioms. 2025;14(5):336.
- 8. Al Khabyah A, Ansari MA. Exploring the embedding of the extended zero-divisor graph of commutative rings. Axioms. 2025;14(3):170.
- 9. Wiener H. Structural determination of paraffin boiling points. J Am Chem Soc. 1947;69(1):17–20. pmid:20291038
- 10. Randic M. Characterization of molecular branching. J Am Chem Soc. 1975;97(23):6609–15.
- 11. Siddiqui MK, Imran M, Ahmad A. On Zagreb indices, Zagreb polynomials of some nanostar dendrimers. Appl Math Comput. 2016;280:132–9.
- 12. Liu J-B, Raza Z, Javaid M. Zagreb connection numbers for cellular neural networks. Discrete Dyn Nat Soc. 2020;2020:1–8.
- 13. Imran M, Iqbal MA, Liu Y, Baig AQ, Khalid W, Zaighum MA. Computing eccentricity-based topological indices of 2-power interconnection networks. J Chem. 2020;2020:1–7.
- 14. Imran M, Siddiqui M, Abunamous A, Adi D, Rafique S, Baig A. Eccentricity based topological indices of an oxide network. Mathematics. 2018;6(7):126.
- 15. Ahmad A, López SC. Distance-based topological polynomials associated with zero-divisor graphs. Math Probl Eng. 2021;2021:1–8.
- 16. Gutman I. Geometric approach to degree-based topological indices: sombor indices. MATCH Commun Math Comput Chem. 2021;86:11–6.
- 17. Imran M, Ismail R, Azeem M, Jamil MK, Al-Sabri EHA. Sombor topological indices for different nanostructures. Heliyon. 2023;9(10):e20600. pmid:37867810
- 18. Raza Z, Jukaku M. Computational analysis of topological indices through M-polynomial for generalized windmill graphical structures. Eur Phys J Plus. 2022;137(6).
- 19. Zaman S, Kamboh A, Ullah A, Liu J-B. Development of some novel resistance distance based topological indices for certain special types of graph networks. Phys Scr. 2023;98(12):125250.
- 20. Hayat S, Khan S, Khan A, Liu J-B. Valency-based molecular descriptors for measuring the π-electronic energy of lower polycyclic aromatic hydrocarbons. Polycyclic Aromat Compounds. 2020;42(4):1113–29.
- 21. Afzal Siddiqui HM, Nadeem MF, Azeem M, Arshad MA, Haider A, Malik MA. Topological properties of supramolecular chain of different complexes of N-salicylidene-L-valine. Polycyclic Aromat Compounds. 2021;42(9):6185–98.
- 22. Hayat S, Khan S. Quality testing of spectrum-based valency descriptors for polycyclic aromatic hydrocarbons with applications. J Molecul Struct. 2021;1228:129789.
- 23. Ullah A, Zeb A, Zaman S. A new perspective on the modeling and topological characterization of H-Naphtalenic nanosheets with applications. J Mol Model. 2022;28(8).
- 24.
Todeschini R, Consonni V. Molecular descriptors for chemoinformatics. methods and principles in medicinal chemistry. Wiley. 2009. https://doi.org/10.1002/9783527628766
- 25. Khabyah AA, Jamil MK, Koam ANA, Javed A, Azeem M. Partition dimension of COVID antiviral drug structures. Math Biosci Eng. 2022;19(10):10078–95. pmid:36031984
- 26. Gao W, Siddiqui MK, Imran M, Jamil MK, Farahani MR. Forgotten topological index of chemical structure in drugs. Saudi Pharm J. 2016;24(3):258–64. pmid:27275112
- 27. Nadeem MF, Azeem M, Farman I. Comparative study of topological indices for capped and uncapped carbon nanotubes. Polycyc Aromat Compounds. 2021;42(7):4666–83.
- 28. Nadeem MF, Azeem M, Siddiqui HMA. Comparative study of Zagreb indices for capped, semi-capped, and uncapped carbon nanotubes. Polycyc Aromat Compounds. 2021;42(6):3545–62.
- 29. Khabyah AA. Mathematical aspects and topological properties of two chemical networks. MATH. 2023;8(2):4666–81.
- 30. Irfan M, Rehman HU, Almusawa H, Rasheed S, Baloch IA. M-Polynomials and topological indices for line graphs of chain silicate network and H-naphtalenic nanotubes. J Math. 2021;2021:1–11.
- 31. Alali AS, Ali S, Hassan N, Mahnashi AM, Shang Y, Assiry A. Algebraic structure graphs over the commutative ring zm: exploring topological indices and entropies using M-polynomials. Mathematics. 2023;11(18):3833.
- 32. Elahi K, Ahmad A, Hasni R. Construction algorithm for zero divisor graphs of finite commutative rings and their vertex-based eccentric topological indices. Mathematics. 2018;6(12):301.
- 33. Koam ANA, Ahmad A, Haider A, Ansari MA. Computation of eccentric topological indices of zero-divisor graphs based on their edges. MATH. 2022;7(7):11509–18.
- 34. Öztürk Sözen E, Alsuraiheed T, Abdioğlu C, Ali S. Computing topological descriptors of prime ideal sum graphs of commutative rings. Symmetry. 2023;15(12):2133.
- 35.
Dehmer M, Varmuza K. Advances in quantitative structure-property relationships. CRC Press. 2018.
- 36.
Todeschini R, Consonni V, Mannhold R, Kubinyi H, Timmerman H. Handbook of molecular descriptors. Wiley-VCH, Weinheim, Germany, 2002.
- 37. Gutman I, Trinajstic N. Graph theory and molecular orbitals totalπ-electron energy of alternant hydrocarbons. Chem Phys Lett. 1972;17(4):535–8.
- 38. Gutman I, Ru??ić B, Trinajstić N, Wilcox CF Jr. Graph theory and molecular orbitals. XII. Acyclic polyenes. J Chem Phys. 1975;62(9):3399–405.
- 39.
Dehmer M, Varmuza K, Bonchev D. Statistical modeling of molecular descriptors in qsar/ qspr. Weinheim, Germany: Wiley-VCH. 2012.
- 40.
Diudea M. QSPR/QSAR studies by molecular descriptors. New York, NY, USA: NOVA. 2001.
- 41.
Devillers J, Balaban AT. Topological indices and related descriptors in QSAR and QSPR. CRC Press. 2000. https://doi.org/10.1201/9781482296945