I note that we can elide the parens:

   +/v%#v

Which is shorter than  (+/%#)v  .  Further, it contains only one word more than 
the "obvious minimum" of the "essential" five  +  /  %  #  v .

By the same token, the APL solution can be similarly condensed:

   +/v div rho v

which is identical, if we allow that  % #   and  div rho  are analogs, is 
identical.

Roger:  if we prohibit cheats like  ".'+/v%#v'  (containing only 2 words), are 
you aware of a solution shorter than 6 words?

-Dan

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

Reply via email to