The line is:

SumOfFact^:3 169

Using a single pair of parentheses, separating the 3 and the 169 requires placing at least one of the characters between the 3 and the 169.

If you place both between 3 and 169, either order )( or () produces a syntax error.

So you must place either the left or the right parenthesis there but not both.

If the left, the only place to put the right is after the 169.

If the right, there are only 3 words to the left of the added character (SumOfFact, ^:, and 3). The lparen can be placed before any of those words.

Total, 4 cases.

Henry Rich

(I write this in the full expectation that I am wrong, but I can do no other)

On 9/4/2014 8:00 PM, Raul Miller wrote:
Correction:

I see five different ways of using a single pair of parenthesis to separate
the 3 and the 169.

(I believed there was a fifth way but I needed to eat breakfast before I
could think clearly enough to see it.)

Can you find them all?

Thanks,

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

Reply via email to