Sorry. I seem to get the reason, immediately after I posted this.

   a (lcm*/gcd)"(_ _) a
1  2  3  4  5  6
2  4  6  8 10 12
3  6  9 12 15 18
4  8 12 16 20 24
5 10 15 20 25 30
6 12 18 24 30 36
   a (lcm*gcd)"(_ _) a
1 4 9 16 25 36


On 2/28/06, June Kim <[EMAIL PROTECTED]> wrote:
>   gcd=: +.
>   lcm=: *.
>   a=:>:i.6
>   a (lcm*gcd)"(0 _) a
> 1  2  3  4  5  6
> 2  4  6  8 10 12
> 3  6  9 12 15 18
> 4  8 12 16 20 24
> 5 10 15 20 25 30
> 6 12 18 24 30 36
>   a (lcm*gcd)/ a
> 1 4 9 16 25 36
>   a (lcm*/gcd)/ a
> 1  2  3  4  5  6
> 2  4  6  8 10 12
> 3  6  9 12 15 18
> 4  8 12 16 20 24
> 5 10 15 20 25 30
> 6 12 18 24 30 36
>
> I was reading Math for the Layman and I found "(lcm*/gcd)/" form
> strange but experimenting at the J window, "(lcm*gcd)/" didn't work,
> whereas the former worked. Why?
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to