On the equation x(x+1)... (x+k-1) = y(y+d)... (y+(mk-1)d), m=1,2