Accidentally sent this only to Sebastiano.

Sent from my iPad

Begin forwarded message:

> From: km <[email protected]>
> Date: December 8, 2013 at 3:10:25 PM CST
> To: Sebastiano Tronto <[email protected]>
> Subject: Re: [Jprogramming] Puzzle
> 
> Thanks to all for their contributions.  I admired Dan Bron's closing pretty 
> solution, and myself use
> 
>    p3sp =: ([: */ [: p: 0 1 2 + ])"0
>  
> which permits arbitrary argument arrays.
>   
>    p3sp i. 2 3
>   30  105  385
> 1001 2431 4199
> 
> Sebastiano Tronto's similar solution arrived almost immediately!
> 
> --Kip Murray
> 
> Sent from my iPad
> 
>> On Dec 7, 2013, at 1:03 PM, Sebastiano Tronto <[email protected]> 
>> wrote:
>> 
>> Hi, I'm new to the forums.
>> I love this kind of puzzles (in fact, that's kind of why I learnt J) :-)
>> 
>> Solution:
>> p3sp =: */@:p:@(],>:,2&+)"0
>> 
>> Didn't use oeis :-)
>> 
>> Inviato con AquaMail per Android
>> http://www.aqua-mail.com
>> 
>> 
>> Il 07 Dicembre 2013 19:36:49 km <[email protected]> ha scritto:
>>> Figure out what verb p3sp does and write it.  The name is a hint.  Extra 
>>> credit for not using
>>> https://oeis.org/
>>> 
>>> --Kip Murray
>>> 
>>>   p3sp i. 7
>>> 30 105 385 1001 2431 4199 7429
>>> 
>>> Sent from my iPad
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
>> 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to