Table[Table[Integrate[Product[(x-(j-1)/(m-1))/((i-j)/(m-1)),{j,1,i-1}]*Product[(x-(j-1)/(m-1))/((i-j)/(m-1)),{j,i+1,m}],{x,0,1}] ,{i,1,m}],{m,2,9}]