Skip to main content

Discrete Math with SageMath: Learn math with open-source software

Chapter 3 Combinatorics

Counting techniques arise naturally in computer algebra as well as in basic applications in daily life. This chapter covers the treatment of the enumeration problem in Sage, including counting combinations, counting permutations, and listing them.