Computing The First Zagreb Index, The Wiener Index and The Gutman Index of The Power of Dihedral Group Using Python
DOI:
https://doi.org/10.20956/j.v22i1.44688Keywords:
Gutman Index, Python, Zagreb Index, Wiener IndexAbstract
This paper presents a computational study on three classical topological indices—the First Zagreb Index, Wiener Index, and Gutman Index—within the context of power graphs of the dihedral group , where is a positive integer representing half the order of the group. These indices are fundamental in mathematical chemistry and graph theory, serving as quantitative descriptors of graph structure and connectivity. The methodology involves constructing power graphs derived from and calculating the indices using Python programming, supported by the NetworkX, Matplotlib, and Gradio libraries. Numerical simulations were conducted for varying values of , revealing consistent algebraic patterns and insights into the structural complexity of the corresponding graphs. Additionally, an interactive Python-based interface is developed to facilitate real-time computation and visualization, thus promoting further exploration and application in algebraic graph theory
References
[1] Alivia, A., Yulianti, K., & Kusumah, Y. S., 2025. The Chromatic Number of the Edge Corona Operation of Cycle Graph and Star Graph. Jurnal Matematika, Statistika dan Komputasi, Vol 21, No 2, 431-438.
[2] Arifin, S., Nicholas, A., Baskoroputro, H., Prabowo, A. S., Ibrahim, M. A., & Rahayu, A,. 2023. Algorithm for digital image encryption using multiple hill ciphers, a unimodular matrix, and a logistic map. International Journal of Intelligent Systems and Applications in Engineering, Vol 11, No 6, 311-324.
[3] Arifin, S., Muktyas, I. B., Al Maki, W. F., & Aziz, M. M., 2022. Graph coloring program of exam scheduling modeling based on Bitwise coloring algorithm using Python. Journal of Computer Science, Vol 18, No 1, 26-32.
[4] Asmarani, E. Y., Lestari, S. T., Purnamasari, D., Syarifudin, A. G., Salwa, S., & Wardhana, I. G. A. W., 2023. The first zagreb index, the wiener index, and the gutman index of the power of dihedral group. CAUCHY: Jurnal Matematika Murni dan Aplikasi, Vol 7 No 4, 513-520.
[5] Nusantara, Y. S., & Maulana, W., 2024. Penyelesaian Polinomial Irreducible pada Zp dan FPB, KPK Dua Polinomial pada Fn Menggunakan Python. Semeton Mathematics Journal, Vol 1, No 2, 69-77.
[6] Surbakti, N. M., & Ramadhani, F., 2022. Implementation of the Greedy Algorithm for Coloring Graph Based on Four-Color Theorem. Sudo Jurnal Teknik Informatika, Vol 1, No 4, 178-182.
[7] Syarifudin, A. G., & Wijaya, V. R., 2023. A Python Code For Generating All Proper Subgroups Of Dihedral Group. Journal of Fundamental Mathematics and Applications (JFMA), Vol 6, No 1, 10-17.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Jurnal Matematika, Statistika dan Komputasi

This work is licensed under a Creative Commons Attribution 4.0 International License.

This work is licensed under a Creative Commons Attribution 4.0 International License.
Jurnal Matematika, Statistika dan Komputasi is an Open Access journal, all articles are distributed under the terms of the Creative Commons Attribution License, allowing third parties to copy and redistribute the material in any medium or format, transform, and build upon the material, provided the original work is properly cited and states its license. This license allows authors and readers to use all articles, data sets, graphics and appendices in data mining applications, search engines, web sites, blogs and other platforms by providing appropriate reference.




