{"id":269,"date":"2021-01-17T18:26:50","date_gmt":"2021-01-17T18:26:50","guid":{"rendered":"https:\/\/mathlab.io\/?page_id=269"},"modified":"2026-03-24T20:35:04","modified_gmt":"2026-03-24T20:35:04","slug":"code","status":"publish","type":"page","link":"https:\/\/automathon.org\/index.php\/code\/","title":{"rendered":"Code"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>I frequently write Python\/SageMath code when conducting research. There&#8217;s a slight possibility that it might be useful or interesting to another couple of people in the world, so I am sharing git repositories with some of my Jupyter notebooks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Unicyclic graphs<\/h2>\n\n\n\n<p><a href=\"https:\/\/git.automathon.org\/aram\/unicyclic\">Here&#8217;s code<\/a> that allowed me to find the first example of unicyclic bipartite graphs with the same chromatic symmetric function, written mostly while <a href=\"https:\/\/arxiv.org\/pdf\/2505.06486\">our group<\/a> was in residence at the AMS MRC in June 2024. SageMath didn&#8217;t have a unicyclic graph generator, so most of the code works to build all of them of prescribed order (and cycle size).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Kronecker coefficients and column-row polytopes<\/strong><\/h2>\n\n\n\n<p><a href=\"https:\/\/git.automathon.org\/aram\/kron_cr\">Here is code<\/a> that constructs the inequalities defining the &#8220;column-row&#8221; polytope described in this <a href=\"https:\/\/arxiv.org\/abs\/2510.16278\">article by S\u00e1nchez-Vallejo<\/a>, and then uses LattE in enumerate the integer points and compute Kronecker coefficients. It was useful for work on the (p,q,2)-case with Vallejo (forthcoming).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Kazhdan-Lusztig polynomials<\/h2>\n\n\n\n<p><a href=\"https:\/\/git.automathon.org\/aram\/klb2\">Here is code<\/a> we used for the &#8220;Kazhdan-Lusztig polynomials for <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/automathon.org\/wp-content\/ql-cache\/quicklatex.com-4e2373599a16a5e769523084980113de_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#92;&#116;&#105;&#108;&#100;&#101;&#123;&#66;&#125;&#95;&#50;\" title=\"Rendered by QuickLaTeX.com\" height=\"19\" width=\"20\" style=\"vertical-align: -3px;\"\/>&#8221; <a href=\"https:\/\/arxiv.org\/pdf\/2102.01278.pdf\">article<\/a>. It was helpful for finding some of the explicit formulas for elements in the affine Weyl group.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ternary factorization<\/h2>\n\n\n\n<p><a href=\"https:\/\/git.automathon.org\/aram\/ternaryfact\" data-type=\"URL\" data-id=\"https:\/\/github.com\/arambin\/ternaryfact\" target=\"_blank\" rel=\"noreferrer noopener\">Here is an implementation<\/a> of the algorithm of Theorem 4.6 from my ternary arithmetic <a href=\"https:\/\/arxiv.org\/pdf\/2002.02059.pdf\" data-type=\"URL\" data-id=\"https:\/\/arxiv.org\/pdf\/2002.02059.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">article<\/a>. The basic idea is essentially what is sometimes called &#8220;<a href=\"https:\/\/math.dartmouth.edu\/~carlp\/PDF\/paper52.pdf\">Kraitchik&#8217;s method<\/a>.&#8221;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>(more coming soon &#8212; feel free to reach out with requests)<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I frequently write Python\/SageMath code when conducting research. There&#8217;s a slight possibility that it might be useful or interesting to another couple of people in the world, so I am sharing git repositories with some of my Jupyter notebooks. Unicyclic graphs Here&#8217;s code that allowed me to find the first example of unicyclic bipartite graphs<a class=\"more-link\" href=\"https:\/\/automathon.org\/index.php\/code\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-269","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/automathon.org\/index.php\/wp-json\/wp\/v2\/pages\/269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/automathon.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/automathon.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/automathon.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/automathon.org\/index.php\/wp-json\/wp\/v2\/comments?post=269"}],"version-history":[{"count":8,"href":"https:\/\/automathon.org\/index.php\/wp-json\/wp\/v2\/pages\/269\/revisions"}],"predecessor-version":[{"id":520,"href":"https:\/\/automathon.org\/index.php\/wp-json\/wp\/v2\/pages\/269\/revisions\/520"}],"wp:attachment":[{"href":"https:\/\/automathon.org\/index.php\/wp-json\/wp\/v2\/media?parent=269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}