On Feb 5, 2008, at 7:35 AM, Devon McCormick wrote:

For your example "i. 5 3", there should be 3^5 possible sums (including
duplicates).

This is the key phrase. I'm removing duplicates. Perhaps I should have said "unique sums."

In any case, figuring them all out and then removing duplicates isn't an option because I'm likely going to be dealing with matrices up to at least 20x20, perhaps 30x30 or more.

thanks,

Geoff
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to