from sage.all import *
W = Knots()
K1 = W.from_table(5, 2)
K2 = W.from_gauss_code([-1, 2, -3, 4, -5, 1, -2, 5, -4, 3])
print(K1.is_isotopic(K2))
print(K1.gauss_code(), K2.gauss_code())
I have the following code. I'm troubled because K1 and K2 are the same knot, yet they return Gauss codes with different numbers of crossings. Specifically, K1 as 5_2 has 5 crossings, and since the Gauss code is just labelling crossings I don't see why there would possibly be any 6's in the output, yet K1.gauss_code() returns [-1, 2, -3, -4, 6, 1, -2, 3, 5, -6, 4, -5]. Thoughts? Am I misunderstanding something?