Computing The First Zagreb Index, The Wiener Index and The Gutman Index of The Power of Dihedral Group Using Python

Authors

  • bulqis nebulla syechah Department Mathematics, Universitas Mataram
  • Mutiara Aeqi Permata Prasetyo Department Mathematics, Universitas Mataram
  • Ni Luh Dewi Sintiari Department of Informatics, Universitas Pendidikan Ganesha
  • Gede Adhitya Wisnu Wardhana Department Mathematics, Universitas Mataram

DOI:

https://doi.org/10.20956/j.v22i1.44688

Keywords:

Gutman Index, Python, Zagreb Index, Wiener Index

Abstract

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

2025-09-08

How to Cite

syechah, bulqis nebulla, Prasetyo, M. A. P., Sintiari, N. L. D., & Wardhana, G. A. W. (2025). Computing The First Zagreb Index, The Wiener Index and The Gutman Index of The Power of Dihedral Group Using Python. Jurnal Matematika, Statistika Dan Komputasi, 22(1), 102–113. https://doi.org/10.20956/j.v22i1.44688

Issue

Section

Research Articles