On Dec 13, 2007 8:02 PM, Don Guinn <[EMAIL PROTECTED]> wrote:
> would not be available. So the solution is obvious without relying on
> solution by exhaustion.

Indeed.
   a.{~42+0 4 5 9 9 1 63 4 8 15 78
(run that to see my 11 character solution for this problem.)

The longer chunk of code I wrote was intended to solve the
more general case, where 61 is replaced with an arbitrary
positive integer.

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

Reply via email to