Xét khai triển:
\(\left(1+x\right)^{2017}=C_{2017}^0+xC_{2017}^1+x^2C_{2017}^2+...+x^{2017}C_{2017}^{2017}\)
Lấy tích phân 2 vế:
\(\int\limits^1_0\left(1+x\right)^{2017}=\int\limits^1_0\left(C_{2017}^0+xC_{2017}^1+...+x^{2017}C_{2017}^{2017}\right)\)
\(\Leftrightarrow\dfrac{2^{2018}-1}{2018}=C_{2017}^0+\dfrac{1}{2}C_{2017}^1+...+\dfrac{1}{2018}C_{2017}^{2017}\)
Vậy \(S=\dfrac{2^{2018}-1}{2018}\)