x0=: ,.(1+i.9)(([:":]),' X',(2":[),' =',(7#' '),~ 3":*)"0/2+i.4
x1=: ,.(1+i.9)(":@],' X',2&":@[,' =',(7#' '),~ 3":*)"0/2+i.4
x2=: ,.(1+i.9)(":@],' X',2&":@[,' =',(7#' '),~3":*)"0/2+i.4
x3=: ,.(1+i.9)(7|.8&":@],' X',2&":@[,' = ',2":*)"0/2+i.4
x4=: ,.(1+i.9)(7|.8&":@],' X ',":@[,' = ',2":*)"0/2+i.4
x5=: ,.(1+i.9)('_ X _ = __       '0 4 8 9}~1 1 2":,~,*)"0/2+i.4

   x0 -: x1
1
   x0 -: x2
1
   x0 -: x3
1
   x0 -: x4
1
   x0 -: x5
1

But really, the whole exercise is biased; the real answer should be
   +/~i.10





On Sat, Apr 26, 2014 at 4:25 PM, Don Guinn <[email protected]> wrote:

> A little shorter.
>
>    ,.(1+i.9)(([:":]),' X',(2":[),' =',(7#' '),~ 3":*)"0/2+i.4
> 2 X 1 =  2       3 X 1 =  3       4 X 1 =  4       5 X 1 =  5
> 2 X 2 =  4       3 X 2 =  6       4 X 2 =  8       5 X 2 = 10
> 2 X 3 =  6       3 X 3 =  9       4 X 3 = 12       5 X 3 = 15
> 2 X 4 =  8       3 X 4 = 12       4 X 4 = 16       5 X 4 = 20
> 2 X 5 = 10       3 X 5 = 15       4 X 5 = 20       5 X 5 = 25
> 2 X 6 = 12       3 X 6 = 18       4 X 6 = 24       5 X 6 = 30
> 2 X 7 = 14       3 X 7 = 21       4 X 7 = 28       5 X 7 = 35
> 2 X 8 = 16       3 X 8 = 24       4 X 8 = 32       5 X 8 = 40
> 2 X 9 = 18       3 X 9 = 27       4 X 9 = 36       5 X 9 = 45
> ----------------------------------------------------------------------
> 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