[Jprogramming] Puzzle
Dan Bron
j at bron.us
Sat Dec 7 21:54:36 UTC 2013
Here's a silly variation.
3 ([ p:^:_1&|: p:\) i.7
30 105 385 1001 2431
[Hint: the middle tine can be greatly simplified :]
-Dan
PS: I'll gladly cede the title of Stupidest J Pun to anyone who can say it cleverly using &. . Not sure it'll improve your resume, but you can always break it out at cocktail parties.
Please excuse typos; composed on a handheld device.
> On Dec 7, 2013, at 3:10 PM, Raul Miller <rauldmiller at gmail.com> wrote:
>
> Nice!
>
> Here's a minor variation:
>
> */@:p:@(0 1 2 +/ ]) i.7
> 30 105 385 1001 2431 4199 7429
>
> :)
>
> --
> Raul
>
>
> On Sat, Dec 7, 2013 at 2:03 PM, Sebastiano Tronto
> <sebastiano at luganega.org> 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 <km at math.uh.edu> 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
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list