dimanche 1 mars 2015

Permutations of a limited number set


Im trying to find all permutations of a 6 number set given the following limitations.



  • The set contain 6 numbers

  • The sum of the set equals 111

  • A number is in the range 1 to 36 inclusive


I need to know the actual arrangement of all permutations, for example one arrangement would be: [36, 36, 36, 1, 1, 1]





Aucun commentaire:

Enregistrer un commentaire