Results 1 to 3 of 3

Thread: Number Permutation

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2003
    Posts
    237

    Number Permutation

    hi,

    let say i have a number : 1234 , in this number, it can group to 1243, 1324, 1423, 1342 ... in 24 groups,

    if the number is 123, it can group to 132, 231, 312, 213 ..... in few groups

    any formula to do this?

  2. #2
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    do you want to number of combinations (n!) or an algorithm which works them all out?

    If the latter, will it always be a 4 character string or a variable length?
    Have I helped you? Please Rate my posts.

  3. #3
    Hyperactive Member
    Join Date
    Sep 2001
    Posts
    396
    A search on permutation in this forum turns up these results

    http://www.vbforums.com/search.php?s...der=descending
    I'm a VB6 beginner.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width