I used Project Euler as an introduction to my J class this year.  PE27 
was one of the assignments:

http://www.raleighcharterhs.org/faculty/hrich/Courses/PSE/Unit%200%20Project%20Euler/HW%2014%20PE27%20Polynomials%20and%20looping.html

The discussion there includes ^: .

Henry Rich

On 10/8/2011 6:23 AM, David Vaughan wrote:
> Hi, I am looking to repeatedly apply a verb on itself until a certain value 
> is reached, with the prior knowledge that there are two values that can be 
> reached. The idea is to count how many times one of the two values comes up. 
> I know about the power verb but I'm not sure how to use it properly beyond 
> the simple v^:n y form. I've read about using it like a C while loop but in 
> my case, there are two values I want to 'exit the loop' with.
>
> Any pointers? 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

Reply via email to