The integers greater than 3 are ruled out by noticing that if a1,a2,a3 are pairwise distinct positive integers, then
a1a2a3(a1+1)(a2+1)(a3+1)−1=1+a11+a21+a31+a1a21+a1a31+a2a31≤1+1+21+31+1⋅21+1⋅31+2⋅31=3+65
To complete the proof, fix an integer n≥3, consider an integer a≥3, and let a1=a−2, let ak=a2k−2, k=2,…,n−1, and let an=a2n−2−2. Then 1≤a1<a2<⋯<an, and
a1a2⋯an(a1+1)(a2+1)⋯(an+1)−1=(a−2)a1+2+⋯+2n−3(a2n−2−2)((a−1)∏k=2n−1(a2k−2+1))(a2n−2−1)−1=(a−2)a2n−2−1(a2n−2−2)(a2n−2−1)2−1=(a−2)a2n−2−1(a2n−2−2)a2n−2(a2n−2−2)=a−2a=1+a−22,
which is integral if and only if a=3 or a=4. The former shows that 3 satisfies the required condition, and the latter shows that so does 2.