Computer assisted mathematics with SageMath
For my research, as well as for teaching or outreach projects, I use SageMath. This is an open-source software developed by a dynamical community of mathematicians!
Using SageMath
The main options to use SageMath are an online server (CoCalc) or the local installation on a computer (instructions and download). I suggest the latter.
Once SageMath is installed on your computer, you can download the introductory worksheets posted below. To open Sagemath in its notebook, the procedure is the following:
- Depending on your operating system and the version of SageMath you installed, this can either be done with a button in your menu, or from the command line, by typing ‘PATH_TO_THE_SAGE_FOLDER/sage –notebook=jupyter’ from the folder in which the worksheet is located. Then, SageMath should open in your browser.
- In your browser, you should find the SageMath (Jupyter) notebook interface. Simply open the worksheet by clicking on it.
Combinatorics with SageMath at ICTP-EAUMP School on Enumerative Combinatorics
I was a lecturer at the 2023 ICTP-EAUMP School on Enumerative Combinatorics in Arusha, Tanzania, a school in partnership with CIMPA happening each year in East Africa (on rotating topics). My course was on using SageMath for combinatorics. You can download individual lectures (with exercises) or a Zip file containing all the material.
- Day 1: Introduction to SageMath + worksheets on using SageMath as a calculator and Python basics (including solutions) - as a Zip file
- Day 2: Combinatorial structures in SageMath + worksheet on some number sequences (including solutions) - as a Zip file
- Day 3: Generating functions with SageMath + worksheet (including solutions) - as a Zip file
- Day 4: Graph Theory with SageMath + worksheet (no solution) - as a Zip file
- Day 5: Databases and the bijectionist’s tool kit - no exercises, slides only. As a Zip file
- The whole minicourse, as a Zip file
Four colors with SageMath
A nice picture realized with the use of SageMath, picturing the Four Color Theorem. Here’s a challenge: Find the lake that is not the same color as the oceans.
Contribute to SageMath
You don’t find the features you are looking for in SageMath? Contribute to it or go to SageMath Days.