This study uses Python to calculate and analyze three indices such as the first Zagreb, Wiener, and Gutman indices on the rank graph of the group modulo the power of a prime number. It relies on formulas that have been developed by previous research. By using Python libraries such as NetworkX, Matplotlib, and Tkinter, the calculation process becomes more efficient and allows visualization of index variations based on changes in the values of prime p and exponent k. The results show that the values of the three indices increase as the values of p and k increase, reflecting the increasing complexity of the graph structure. At large values of p and k, the graph visualization is too complex which causes the graph visualization to be less clear. This approach proves to be effective in supporting visual and quantitative exploration of algebraic structures.
Copyrights © 2025