Let be a commutative ring with as the set of all unit elements in . This paper introduces a new graph associated with the ring , called the triple unit graph of type II, denoted by with the vertex set is − {0,1}. In TU2(R), two distinct vertices, and , are adjacent if there exists with and such that . This paper focuses on the algorithm for constructing using Python. This research uses the literature study research method. The Python programming language can be used to observe the characteristic result of the graph. From the patterns generated by the algorithm, some characteristics of are obtained. For example, if is a prime and , then is a connected graph, a complete graph, a regular graph, and a Hamiltonian graph
Copyrights © 2024