The rows of #:i.2^n contains the information needed to generate m comb n . The combinations essay has this tidbit.
----- Original Message ----- From: Alex Giannakopoulos <[email protected]> Date: Saturday, August 20, 2011 13:40 Subject: Re: [Jprogramming] Finding numbers with _distinct_ digits To: Programming forum <[email protected]> > Hm, I see a programming challenge for me. > write a "comb" without using for. or other explicit looping. > > If you can do this, save the spoilers for a while. > Though _broad_ hints are welcome ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
