Hallo Raul Miller, je schreef op 28-01-10 15:20:
> divs=: 13 :'\:~ , > */&>/(^ i.@>:)&.>/__ q: y'
>   
> This can be simplified slightly:
>
> divs=: 13 :'\:~ , */&>/(^ i.@>:)&.>/__ q: y'
>
>   
No, you get into trouble in case of a prime:

   */&>/ (^ i.@>:)&.>/ __ q: 7
+---+
|1 7|
+---+


>
>   

-- 
Met vriendelijke groet,
=@@i

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to