title: Permutation for numbers in C
body: <p>I'm trying to write a C function to list all permutations of a set of numbers, in groups of five, including repeat numbers:</p>
  
  <pre><code>15-11-49-43-5
  2-30-34-6-11
  </code></pre>
  
  <p>So it's easy enough to write a function to grab all permutations of a number set and throw them out, but mapped to a certain group size, i'm somewhat stuck..</p>