Guest User

Untitled

a guest
Jan 22nd, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. [CapitalGamma] = {2, 3, 5, 7, 6, 8, 10, 12, 24};
  2. edges = Apply[DirectedEdge,Select[Tuples[[CapitalGamma], 2],
  3. Mod[#[[2]], #[[1]]] == 0 &], {1}];
  4. Graph[[CapitalGamma], edges, VertexLabels -> "Name"]
Add Comment
Please, Sign In to add comment