Finding loops in graphs using prime numbers Toy program to demonstrate how one can find loops in a graph structure using properties of prime numbers. Obvious limitation is that we can't have very big graphs :)