Ta có: \(\dfrac{x+1006}{1007}+\dfrac{x+1005}{1008}=\dfrac{x+1004}{1009}+\dfrac{x+1003}{1010}\)
\(\Leftrightarrow\dfrac{x+1006}{1007}+1+\dfrac{x+1005}{1008}+1=\dfrac{x+1004}{1009}+1+\dfrac{x+1003}{1010}+1\)
\(\Leftrightarrow\dfrac{x+2013}{1007}+\dfrac{x+2013}{1008}=\dfrac{x+2013}{1009}+\dfrac{x+2013}{1010}\)
\(\Leftrightarrow\dfrac{x+2013}{1007}+\dfrac{x+2013}{1008}-\dfrac{x+2013}{1009}-\dfrac{x+2013}{1010}=0\)
\(\Leftrightarrow\left(x+2013\right)\left(\dfrac{1}{1007}+\dfrac{1}{1008}-\dfrac{1}{1009}-\dfrac{1}{1010}\right)=0\)
mà \(\dfrac{1}{1007}+\dfrac{1}{1008}-\dfrac{1}{1009}-\dfrac{1}{1010}\ne0\)
nên x+2013=0
hay x=-2013
Vậy: S={-2013}