1. Notice that, 1+a1=1−1+aa.
Therefore, for any i(i=1,2,⋯,n) we have
1+a1a1⋯⋅1+ai−1ai−1⋅1+ai1=1+a1a1⋯⋅1+ai−1ai−1(1−1+aiai)=1+a1a1⋯⋯1+ai−1ai−1−1+a1a1⋯⋯1+aiai.
Summing all these equations, we get
∑i=1n1+a1a1⋯⋯1+ai−1ai−1⋅1+ai1=∑i=1n(1+a1a1⋯⋅1+ai−1ai−1−1+a1a1⋯⋯1+aiai)=1−1+a1a1⋯⋯1+anan.
Thus, the inequality holds.