First time here? Check out the FAQ!
answered 2018-03-17 11:42:35 +0100
This can easily be constructed as follows
sage: S = SymmetricGroup(4) sage: G = DiGraph(list(S)) sage: for s in S: G.add_edges([(s,s**k) for k in range(2,s.order())])