Answer: n=39.
Without loss of generality, assume s1<s2<⋯<sn. Clearly, s1>1, otherwise 1−s11=0. Therefore, 2≤s1≤s2−1≤⋯≤sn−(n−1). Hence si≥i+1,∀i=1,⋯,n. From the given condition we obtain
67017n+1n=(1−s11)(1−s21)⋯(1−sn1)≥(1−21)(1−31)⋯(1−n+11)=(1−21)(1−31)⋯(1−n+11)=n+11≥17670>39≥39.
Next we prove that n=39 satisfies the requirement.
Consider the 39 distinct positive integers: 2,3,…,33,35,36,40,67. We obtain
21⋅32⋅3332⋅3534⋅4039⋅6766=6717.
This completes the proof.