I just got home from 12 days of no email, but I would have enjoyed this thread as it unfolded!
It took a while, but it is finally in simple J (no @'s or &'s.) That always makes me happy. Linda -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Henry Rich Sent: Monday, June 30, 2014 11:15 AM To: [email protected] Subject: Re: [Jprogramming] Finger tapping Bravo! Henry Rich On 6/30/2014 11:06 AM, Marshall Lochbaum wrote: > How about this one? > > }:#/.=i. 4 > 1 2 3 4 3 2 > > Marshall > > On Mon, Jun 30, 2014 at 10:26:50AM -0400, Henry Rich wrote: >> Also >> >> (,#\.)@i.&.<: 4 >> 1 2 3 4 3 2 >> >> Henry Rich >> >> On 6/30/2014 10:11 AM, Marshall Lochbaum wrote: >>> People have addressed the reshaping part of this, but a rather nice way >>> to generate the base sequence is: >>> >>> ((],-)i.)&.<: 4 >>> 1 2 3 4 3 2 >>> ((],-)i.)&.<: 8 >>> 1 2 3 4 5 6 7 8 7 6 5 4 3 2 >>> >>> Marshall >>> >>> On Fri, Jun 27, 2014 at 12:18:09AM -0500, Kip Murray wrote: >>>> Hold up your right hand with its back toward you and number the forefinger >>>> through little finger 1 through 4. (I suppose the thumb has index 0.) Now >>>> try finger tapping this pattern: >>>> >>>> 1 2 3 4 >>>> 3 2 1 2 >>>> 3 4 3 2 >>>> 1 2 3 4 >>>> 3 2 1 2 >>>> 3 4 3 2 >>>> >>>> Write a J expression to produce this pattern. >>>> >>>> --Kip Murray >>>> >>>> >>>> -- >>>> Sent from Gmail Mobile >>>> ---------------------------------------------------------------------- >>>> 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
