Jsoftware
High-Performance Development Platform

APWJ exercises for the reader [2 of 4]

View: New views
5 Messages — Rating Filter:   Alert me  

APWJ exercises for the reader [2 of 4]

by Ian Clark-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In At Play With J Edn 1, there were 4 questions left as exercises for
the reader. In Edn 2 we want to provide the answers in an Appendix.

Just so I don't get them wrong, could the forum please suggest what
the answers should be? You may have to refer to the Wiki page.

I'm putting each question in a separate thread.

+++++
In: Ch 10 Years Digits
http://www.jsoftware.com/jwiki/Doc/Articles/Play124 [see end-of-page]

"There is a solution to 91 which is shorter than this, by the way."
+++++


Ian Clark
Subeditor, APWJ Edn 2
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: APWJ exercises for the reader [2 of 4]

by Roger Hui :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The expressions to beat are #.p:q:|_19b96 and
>:1#.q:996, both with 5 tokens.  A 4-token solution is:
<: #. <. _1.9 96



----- Original Message -----
From: Ian Clark <earthspotty@...>
Date: Wednesday, November 11, 2009 3:56
Subject: [Jprogramming] APWJ exercises for the reader [2 of 4]
To: Programming forum <programming@...>

> In At Play With J Edn 1, there were 4 questions left as
> exercises for
> the reader. In Edn 2 we want to provide the answers in an Appendix.
>
> Just so I don't get them wrong, could the forum please suggest what
> the answers should be? You may have to refer to the Wiki page.
>
> I'm putting each question in a separate thread.
>
> +++++
> In: Ch 10 Years Digits
> http://www.jsoftware.com/jwiki/Doc/Articles/Play124 [see end-of-page]
>
> "There is a solution to 91 which is shorter than this, by the way."
> +++++
>
>
> Ian Clark
> Subeditor, APWJ Edn 2
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: APWJ exercises for the reader [2 of 4]

by Ian Clark-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any advances on that?

Ian

PS: selected contributors (my choice) get acknowledged.



On Wed, Nov 11, 2009 at 5:41 PM, Roger Hui <rhui000@...> wrote:

> The expressions to beat are #.p:q:|_19b96 and
>>:1#.q:996, both with 5 tokens.  A 4-token solution is:
> <: #. <. _1.9 96
>
>
>
> ----- Original Message -----
> From: Ian Clark <earthspotty@...>
> Date: Wednesday, November 11, 2009 3:56
> Subject: [Jprogramming] APWJ exercises for the reader [2 of 4]
> To: Programming forum <programming@...>
>
>> In At Play With J Edn 1, there were 4 questions left as
>> exercises for
>> the reader. In Edn 2 we want to provide the answers in an Appendix.
>>
>> Just so I don't get them wrong, could the forum please suggest what
>> the answers should be? You may have to refer to the Wiki page.
>>
>> I'm putting each question in a separate thread.
>>
>> +++++
>> In: Ch 10 Years Digits
>> http://www.jsoftware.com/jwiki/Doc/Articles/Play124 [see end-of-page]
>>
>> "There is a solution to 91 which is shorter than this, by the way."
>> +++++
>>
>>
>> Ian Clark
>> Subeditor, APWJ Edn 2
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: APWJ exercises for the reader [2 of 4]

by Roger Hui :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The challenge posed was to find an expression using
fewer number of tokens than 5.  The challenge was met.



----- Original Message -----
From: Ian Clark <earthspotty@...>
Date: Wednesday, November 11, 2009 15:00
Subject: Re: [Jprogramming] APWJ exercises for the reader [2 of 4]
To: Programming forum <programming@...>

> Any advances on that?
>
> Ian
>
> PS: selected contributors (my choice) get acknowledged.
>
>
>
> On Wed, Nov 11, 2009 at 5:41 PM, Roger Hui <rhui000@...> wrote:
> > The expressions to beat are #.p:q:|_19b96 and
> >>:1#.q:996, both with 5 tokens.  A 4-token solution is:
> > <: #. <. _1.9 96
> >
> >
> >
> > ----- Original Message -----
> > From: Ian Clark <earthspotty@...>
> > Date: Wednesday, November 11, 2009 3:56
> > Subject: [Jprogramming] APWJ exercises for the reader [2 of 4]
> > To: Programming forum <programming@...>
> >
> >> In At Play With J Edn 1, there were 4 questions left as
> >> exercises for
> >> the reader. In Edn 2 we want to provide the answers in an Appendix.
> >>
> >> Just so I don't get them wrong, could the forum please
> suggest what
> >> the answers should be? You may have to refer to the Wiki page.
> >>
> >> I'm putting each question in a separate thread.
> >>
> >> +++++
> >> In: Ch 10 Years Digits
> >> http://www.jsoftware.com/jwiki/Doc/Articles/Play124 [see end-
> of-page]
> >>
> >> "There is a solution to 91 which is shorter than this, by the way."
> >> +++++
> >>
> >>
> >> Ian Clark
> >> Subeditor, APWJ Edn 2
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Re: APWJ exercises for the reader [2 of 4]

by Ian Clark-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Strictly speaking you are perfectly right. Your contribution(s) *will*
be acknowledged. Any advances on that?

Ian


On Wed, Nov 11, 2009 at 11:03 PM, Roger Hui <rhui000@...> wrote:

> The challenge posed was to find an expression using
> fewer number of tokens than 5.  The challenge was met.
>
>
>
> ----- Original Message -----
> From: Ian Clark <earthspotty@...>
> Date: Wednesday, November 11, 2009 15:00
> Subject: Re: [Jprogramming] APWJ exercises for the reader [2 of 4]
> To: Programming forum <programming@...>
>
>> Any advances on that?
>>
>> Ian
>>
>> PS: selected contributors (my choice) get acknowledged.
>>
>>
>>
>> On Wed, Nov 11, 2009 at 5:41 PM, Roger Hui <rhui000@...> wrote:
>> > The expressions to beat are #.p:q:|_19b96 and
>> >>:1#.q:996, both with 5 tokens.  A 4-token solution is:
>> > <: #. <. _1.9 96
>> >
>> >
>> >
>> > ----- Original Message -----
>> > From: Ian Clark <earthspotty@...>
>> > Date: Wednesday, November 11, 2009 3:56
>> > Subject: [Jprogramming] APWJ exercises for the reader [2 of 4]
>> > To: Programming forum <programming@...>
>> >
>> >> In At Play With J Edn 1, there were 4 questions left as
>> >> exercises for
>> >> the reader. In Edn 2 we want to provide the answers in an Appendix.
>> >>
>> >> Just so I don't get them wrong, could the forum please
>> suggest what
>> >> the answers should be? You may have to refer to the Wiki page.
>> >>
>> >> I'm putting each question in a separate thread.
>> >>
>> >> +++++
>> >> In: Ch 10 Years Digits
>> >> http://www.jsoftware.com/jwiki/Doc/Articles/Play124 [see end-
>> of-page]
>> >>
>> >> "There is a solution to 91 which is shorter than this, by the way."
>> >> +++++
>> >>
>> >>
>> >> Ian Clark
>> >> Subeditor, APWJ Edn 2
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm