結果 : math permutation in python