Lightly Documented Features: Difference between revisions
From Knot Atlas
Jump to navigationJump to search
DrorsRobot (talk | contribs) No edit summary |
DrorsRobot (talk | contribs) No edit summary |
||
Line 25: | Line 25: | ||
n = 3 | |
n = 3 | |
||
in = <nowiki>AlternatingQ</nowiki> | |
in = <nowiki>AlternatingQ</nowiki> | |
||
out= <nowiki>AlternatingQ[ |
out= <nowiki>AlternatingQ[D] returns True iff the knot/link diagram D is alternating.</nowiki>}} |
||
<!--END--> |
<!--END--> |
||
Line 35: | Line 35: | ||
n = 4 | |
n = 4 | |
||
in = <nowiki>Total[AlternatingQ /@ AllKnots[{0,11}]]</nowiki> | |
in = <nowiki>Total[AlternatingQ /@ AllKnots[{0,11}]]</nowiki> | |
||
out= <nowiki> |
out= <nowiki>239 False + 563 True</nowiki>}} |
||
<!--END--> |
<!--END--> |
Revision as of 20:56, 12 December 2007
(For In[1] see Setup)
|
In[2]:=
|
NumberOfKnots[16, NonAlternating]
|
Out[2]=
|
1008906
|
|
Among the knots with up to 11 crossings, 564 are alternating and 238 are not:
In[4]:=
|
Total[AlternatingQ /@ AllKnots[{0,11}]]
|
Out[4]=
|
239 False + 563 True
|