No as clever, but different. 
   (-:m+n)+i:(-/j,~-:n-m)* 1 j. %j
55 65 75 85 95 105 115

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Roger Hui
Sent: Friday, June 04, 2010 1:31 AM
To: Programming forum
Subject: [Jprogramming] odd multiples

j, m, and n are positive integers with m<n.
Find a neat expression for all the odd multiples of j in [m,n),
that is, all k such that (m<:k)*.(k<n)*.(1=2|k%j) .
----------------------------------------------------------------------
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