CoCalc -- Collaborative Calculation in the Cloud
Sharedsupport / 2017-07-05-random-permutation.sagewsOpen in CoCalc

Examples for support purposes...

Permutations(50).random_element()

[24, 15, 18, 3, 11, 31, 28, 30, 14, 10, 9, 44, 33, 12, 34, 21, 41, 42, 26, 2, 36, 23, 37, 50, 38, 22, 13, 4, 32, 46, 1, 29, 5, 19, 7, 49, 20, 25, 35, 45, 40, 27, 48, 47, 43, 17, 39, 16, 8, 6]