How to input a permutation

In order to input a permutation π∈ Sn, first input '[', then input the values π(1), π(2), …, π(n), separated by commas, and finally input ']'. The values π(i) must be chosen from the set {1,2,…,n}.

For instance the permutation π given by π(1)=2, π(2)=3 and π(3)=1 must be written as [2,3,1].


Database on tone rows and tropes
harald.fripertinger "at" uni-graz.at
January 2, 2019