Compute the quandle TWO-COCYCLE state-sum of the closure of one captured signed ...
https://datenvertrag.halowerk.com/v1/quandle-cocycle-braid-state-sumOverview
Compute the quandle TWO-COCYCLE state-sum of the closure of one captured signed braid. table[x][y]=x*y is a finite RIGHT QUANDLE on labels0..n-1,n1..3: square/closed, each column bijective, x*x=x, (x*y)*z=(x*z)*(y*z). modulus is2or3; cocycle[x][y] is a residue0..modulus-1, same square shape, normalized phi(x,x)=0, satisfying phi(x,y)+phi(x*y,z)=phi(x,z)+phi(x*z,y*z) modulo modulus. On1..3 strands, a signed word of length0..2 uses ONE-based adjacent indices abs(g)<strands, applied LEFT TO RIGHT.