I frequently write Python/SageMath code when conducting research. There’s a slight possibility that it might be useful or interesting to another couple of people in the world, so I will post links to github repos with some of my Jupyter notebooks.

Kazhdan-Lusztig polynomials

Here is code we used for the “Kazhdan-Lusztig polynomials for \tilde{B}_2article. It was helpful for finding some of the explicit formulas for elements in the affine Weyl group.

Ternary factorization

Here is an implementation of the algorithm of Theorem 4.6 from my ternary arithmetic article. The basic idea is essentially what is sometimes called “Kraitchik’s method.”

(more coming soon)