Skip to content

Get the number of p-colourings invariant of a knot represented as a closure of a braid.

Notifications You must be signed in to change notification settings

IgorPietrzak/P-colourings-of-Knots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage:

Clone repository:

git clone https://github.com/IgorPietrzak/P-colouings-of-braid-knots.git ./Knots

Build executable:

cd Knots && cargo build --release

Run program:

./target/release/knots <n> <braid_representation> <p>

Arguments:

n: Number of strands in the n-braid.

braid_representation: Sequence of crossings in the braid e.g. s1_s2_-s1.

p: Number of colours.

Examples:

2-braid with s1 applied 3 times:

trefoil

To find the number of 3-colourings we run:

./target/release/knots 2 s1_s1_s1 3

output:

number of 3-colourings: 9

About

Get the number of p-colourings invariant of a knot represented as a closure of a braid.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages