prod[(j+(n+1)m)/(j+1+mn ),{j,1,n}]