The 7-walk on C5 in the previous example has j = 3, and m = 4 and therefore has weight ω12 = ω2 since
ω5 = 1. Equivalently, a walk that begins at vertex j and ends at vertex j + m (mod r ) has weight ωjm. In particular, any closed walk will have weight ω0 = 1.