Re: How to cycle all possible permutations

From: Auric__ (not.my.real_at_email.address)
Date: 07/19/04


Date: Sun, 18 Jul 2004 18:05:19 -0700

On 17 Jul 2004 15:30:33 -0700, Mark wrote:

>I want to try every combination of 10 numbers out of 1 to 64 (I reckon
>there are about 1,300 odd but that is just my intuitive guess rather
>than any mathematical knowledge.
>
>I should think there is a for...next loop over a few layers that would
>do it but I cannot for the life of me figure it out not having a maths
>background. Can anyone help me out?
>
>Kind regards, mark

Can you clarify a bit exactly what you want? I know it may seem pretty
clear, but before I post my (pretty ridiculous-looking) reply, I'd like
to verify that I'm not way out in left field.

I'm interested in that 1,300 figure of yours - if I'm correct in my
thinking of what you want, it's closer to a quarter-quintillion... so to
prevent me from wasting time and bandwidth with a possibly "what the
hell is that" answer, please clarify.

-- 
auric underscore underscore at hotmail dot com
*****
You see, I am over here, on this page where normal people live and work
and play... while you, on the other hand, are waaaay over here, not only
on a different page but quite possibly in a whole other library...


Relevant Pages

  • Re: How to cycle all possible permutations
    ... Duane already posted a macro to do it and others have established that the ... Tom Ogilvy ... please clarify. ... > auric underscore underscore at hotmail dot com ...
    (microsoft.public.excel.programming)
  • Re: DoEvents not working
    ... > to clarify the situation ... ... > I agree that iterating through 10000 records would not give me the ... But as posted in my initial Post, the loop ... > crptStatement (crystal report statement) appear) ...
    (microsoft.public.dotnet.languages.vb)
  • Re: list comprehension
    ... But after reading it, I was left with a question. ... at first I tried rearranging the one of the examples from the previously referenced document to clarify what was going on: ... then when I tried to rewrite it as a nested for loop, that's when I realized list comprehensions is a method of returning the calculation in the interior of a for loop as an assignment without requiring aggregation of results in a temporary variable. ... I would even settle for a wizard tool generating the first approximation for me. ...
    (comp.lang.python)
  • Re: Getting a random hash-table element?
    ... introduced new variable in order to clarify things. ... (defun gre (h) ... When you are ready learn loop: ... (loop for x downfrom (random (hash-table-count h)) ...
    (comp.lang.lisp)
  • Re: For Loop Help
    ... Hope this helps to clarify. ... Craig ... > // To a for loop that changes the variable name so I don't have to list ... Prev by Date: ...
    (comp.lang.javascript)