Product[Product[5/x - i, {i, 2, 5 - 1}],{x,2,5-1}]