Here's my problem. I have a binary string, potentially long, in my case
28. I need to get all binary strings with a specified number of 1s. I doubt
I can get them all at once, too many, so how do I get from one to the next?
What next means is irrelvant, just so I get them with no duplicates if I
run long emough.
While I have an answer, I'm curious to see if there is a better way.
Ralph S
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm