http://qs1969.pair.com?node_id=631218


in reply to Re: One Zero variants_without_repetition
in thread One Zero variants_without_repetition

I gather that the OP also wants strings like:
00011011111 00011101111 00011110111 00011111011 00011111101 00011111110 00110011111 00111001111 ...
which your code didn't get around to. (And apparently, expecting to hold all results in memory before outputting them may be unrealistic.)

Replies are listed 'Best First'.