double factorial terms of trade