in reply to Re^2: Turning very larger numbers into an array of bits
in thread Turning very larger numbers into an array of bits

There are n! ways of arranging n distinct objects into an ordered sequence.

That would only be true if the OP allowed duplicates; Ie. if a set consisting of 80 x bit 0 was allowed, but the OP does state:

How would you quickly iterate over every combination of an array with 80 elements where each element is used a maximum of once in the combination?

Thus the maximium number of sets is 2^80.

He also made no mention of "ordered".


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: Turning very larger numbers into an array of bits