Professional Documents
Culture Documents
div6 = dividesRelation@6D;
div30 = dividesRelation@30D;
div12 = dividesRelation@12D;
Optional::opdef : The default value for the optional argument A_ : 8_Integer< contains a pattern.
Optional::opdef : The default value for the optional argument A_ : 8_Integer< contains a pattern.
divisorLattice@n_IntegerD := dividesRelation@Divisors@nDD;
divisorLattice@10D
881, 1<, 81, 2<, 81, 5<, 81, 10<, 82, 2<, 82, 10<, 85, 5<, 85, 10<, 810, 10<<
fig8A = 88"a", "a"<, 8"a", "b"<, 8"a", "c"<, 8"a", "d"<, 8"a", "e"<, 8"a", "f"<,
8"b", "b"<, 8"b", "c"<, 8"b", "d"<, 8"b", "e"<, 8"b", "f"<, 8"c", "c"<, 8"c", "e"<,
8"c", "f"<, 8"d", "d"<, 8"d", "e"<, 8"d", "f"<, 8"e", "e"<, 8"e", "f"<, 8"f", "f"<<;
S1 = coveringRelation@
881, 1<, 81, 2<, 81, 3<, 81, 4<, 82, 2<, 82, 3<, 82, 4<, 83, 3<, 83, 4<, 84, 4<<D;
coveringRelation@divisorLattice@30DD;
coveringRelation@divisorLattice@30DD;
hasseDiagram@R_D := Module@8edges<,
edges = coveringRelation@RD . 8a_, b_< ® Rule@b, aD;
LayeredGraphPlot@edges, VertexLabeling ® TrueD
D;
2 practical3.nb
hasseDiagram@divisorLattice@21DD
Complement::heads : Heads List and findDomain at positions 2 and 1 are expected to be the same.
Complement::heads : Heads List and findDomain at positions 2 and 1 are expected to be the same.
Complement::heads : Heads List and findDomain at positions 2 and 1 are expected to be the same.
21
3 7
1
practical3.nb 3
hasseDiagram@divisorLattice@30DD
30
6 10 15
2 3 5
1
4 practical3.nb
hasseDiagram@divisorLattice@6DD
2 3
hasseDiagram@divisorLattice@7DD
1
practical3.nb 5
hasseDiagram@fig8AD
c d
a
6 practical3.nb
h1 = hasseDiagram@fig10D
F D
E B
A C
hasseDiagram@fig11D
A C
hasseDiagram@fig12D
hasseDiagram@fig13D
hasseDiagram@div6D
4 6
5 2 3
minimalElements@div6, Range@6DD
minimalElements@881, 1<, 81, 2<, 81, 3<, 81, 4<, 81, 5<, 81, 6<, 82, 2<,
82, 4<, 82, 6<, 83, 3<, 83, 6<, 84, 4<, 85, 5<, 86, 6<<, 81, 2, 3, 4, 5, 6<D
hasseDiagram@div30D
16 24
28 8 20 12 30 18
22 14 21 26 4 10 25 6 15
11 17 19 23 29 7 13 2 5 3
minimalElements@div30, Range@30DD
81<
practical3.nb 11
maximalElements@div6, Range@6DD
81, 2, 3, 4, 5, 6<
maximalElements@div30, Range@30DD
81, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30<
hasseDiagram@div12D
8 12
10 4 6 9
5 7 11 2 3
minimalElements@div30, Range@12DD
81<
maximalElements@div12, Range@12DD
87, 8, 9, 10, 11, 12<
12