This is a discussion on OT. given x digits, how do I calculate the maximum permeations of number order ??? within the alt.comp.lang.php forums, part of the PHP Programming Forums category; ie, with the numbers 1,2,3 the permeations could be : 123 132 231 213 312 321 I learnt how ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
ie, with the numbers 1,2,3 the permeations could be :
123 132 231 213 312 321 I learnt how to do this 20 years ago but now I need it, I cant find any reference to it anywhere... :( |
|
|||
|
On Mon, 01 Mar 2004 22:07:38 +0000, Titus A Ducksass <me@neverumind.com> wrote:
>ie, with the numbers 1,2,3 the permeations could be : > > 123 > 132 > 231 > 213 > 312 > 321 > >I learnt how to do this 20 years ago but now I need it, I cant find >any reference to it anywhere... Anywhere? Where did you look? Google comes up with many, many hits. Some of the better ones are from the site below, which contains lots of scary maths: http://mathworld.wolfram.com/Permutation.html http://mathworld.wolfram.com/Combination.html http://mathworld.wolfram.com/k-Subset.html etc. -- Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool <http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space> |
|
|||
|
Thanks, that looks promising.
This must be one of the fastest responses for me... :) On Mon, 01 Mar 2004 22:23:07 +0000, Andy Hassall <andy@andyh.co.uk> wrote: >On Mon, 01 Mar 2004 22:07:38 +0000, Titus A Ducksass <me@neverumind.com> wrote: > >>ie, with the numbers 1,2,3 the permeations could be : >> >> 123 >> 132 >> 231 >> 213 >> 312 >> 321 >> >>I learnt how to do this 20 years ago but now I need it, I cant find >>any reference to it anywhere... > > Anywhere? Where did you look? Google comes up with many, many hits. > > Some of the better ones are from the site below, which contains lots of scary >maths: > > http://mathworld.wolfram.com/Permutation.html > http://mathworld.wolfram.com/Combination.html > http://mathworld.wolfram.com/k-Subset.html > etc. |