First time here? Check out the FAQ!
asked 0 years ago
I would like to know if there's a way to list weak compositions in SageMath Similar to: list(Compositions(2, length=2)) The result is: [[1, 1]] I would like to have: [[1, 1],[2, 0],[0, 2]]