Hi Linda,
Alessandro defined at the beginning of the thread.
SumOfFact=: 3 : 0
+/!"."0@": y
)
Cheers, bob
On Sep 5, 2014, at 7:52 AM, Linda Alvord <[email protected]> wrote:
> Where is SumOfFact these days?
>
> Linda
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Dan Bron
> Sent: Friday, September 05, 2014 10:30 AM
> To: [email protected]
> Subject: Re: [Jprogramming] repeated applications of a verb
>
> If we're allowed to re-arrange the words, there are exactly 10 ways to
> produce the same result:
>
> +/ (-:"1 {.)@:(". ::_:"".) (A.~ i.@:!@:#)&.;: 'SumOfFact^:3
> (169)'
> 10
>
> HINT: There's something special about the results of this particular
> sentence, so you may not agree with all the "equivalent" sentences.
>
> -Dan
>
> Spoilers in 20
> 19
> 18
> 17
> 16
> 15
> 14
> 13
> 12
> 11
> 10
> 9
> 8
> 7
> 6
> 5
> 4
> 3
> 2
> 1
>
> (#~ (-:"1 {.)@:(". ::_:"".)) (A.~ i.@:!@:#)&.;: Q
> SumOfFact ^: 3 ( 169 )
> SumOfFact ^: ( 3 ) 169
> SumOfFact ^: ( 169 ) 3
> SumOfFact ^: 169 ( 3 )
> SumOfFact ( ^: 3 ) 169
> SumOfFact ( ^: 169 ) 3
> 3 ( SumOfFact ^: ) 169
> ( SumOfFact ^: 3 ) 169
> ( SumOfFact ^: 169 ) 3
> 169 ( SumOfFact ^: ) 3
>
>
>
> ----- Original Message ---------------
>
> Subject: Re: [Jprogramming] repeated applications of a verb
> From: Raul Miller <[email protected]>
> Date: Thu, 4 Sep 2014 21:40:47 -0400
> To: Programming forum <[email protected]>
>
> There's at least two other ways of doing it, if you allow the words to be
> reordered.
>
> Thanks,
>
> --
> Raul
>
>
> On Thu, Sep 4, 2014 at 8:37 PM, Henry Rich <[email protected]> wrote:
>
>> 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
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm