'j m n'=: 5 53 128 (-:m+n)+i:(-/j,~-:n-m)* 1 j. %j |domain error | (-:m+n)+ i:(-/j,~-:n-m)*1 j.%j
R.E. Boss > -----Oorspronkelijk bericht----- > Van: [email protected] [mailto:programming- > [email protected]] Namens Paul Roussin > Verzonden: maandag 7 juni 2010 12:43 > Aan: 'Programming forum' > Onderwerp: Re: [Jprogramming] odd multiples > > 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
