Hello. I would like to know how to create all 31-tuples (sequence of 31 numbers) whose entries are nonnegative and sum up to one. One such kind of tuple would be one where exactly one of the 31 entries is 1 and all of the other remaining 30 entries are 0.
How could I ask Sage to do this?
Thank you.