That's not how i understood the question, i thought it's ok as long as no two rows are identical, in which case my clumsy attempt at a solution would be
(n # p) #: m ? p^n ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
