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