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!
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.
Some introductory worksheets
- Worksheet 1 - Intro in English or en français
- Worksheet 2 - Python Basics
- Worksheet 3 - Linear Algebra
- Worksheet 4 - Guessing generating functions with Sage
More worksheets can be found on the French page, but they are in French. For the solutions to these worksheets, email me.
Franco Saliola has good introductory worksheets to SageMath. For more challenges, I suggest you try the challenges from the Euler Project.
For 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.