OT. given x digits, how do I calculate the maximum permeations of number order ???

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 ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2004
Titus A Ducksass
 
Posts: n/a
Default OT. given x digits, how do I calculate the maximum permeations of number order ???

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...

:(
Reply With Quote
  #2 (permalink)  
Old 03-01-2004
Andy Hassall
 
Posts: n/a
Default Re: OT. given x digits, how do I calculate the maximum permeations of number order ???

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>
Reply With Quote
  #3 (permalink)  
Old 03-01-2004
Titus A Ducksass
 
Posts: n/a
Default Re: OT. given x digits, how do I calculate the maximum permeations of number order ???

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.


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0