Perhaps you might like to refine your question. The indicies of each element are generated byTo refine my question : given an integer X and a number n, I would like to find all combinations of n different integers from 1 to 9 for which the sum is N. Just like in the kakuro puzzle.ind =: $ #: [: i. [:*/$
JC Coez
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
