On 5/24/08, Tracy Harms <[EMAIL PROTECTED]> wrote:
> 38 ≡ 14 (mod 12)

Personally, I would express this in J as
   38 =&(12&|) 14

> If I may be allowed a non-J question, I'm looking for help determining what
> the left parameter must satisfy in order for verb meq to return true.

If I may be allowed to answer this question using J, I would use:
   em=: (1 + 1 }. i.@<./) (=/"1@:(|/) # [) ]
   em 38 14
2 3 4 6 8 12

38 is equivalent to 14 using any of the listed modulii.

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

Reply via email to