Đặt \(2017=a\)
\(A=\sqrt{1+a^2+\dfrac{a^2}{\left(a+1\right)^2}}+\dfrac{a}{a+1}\\ A=\sqrt{\left(a+1\right)^2-2a+\dfrac{a^2}{\left(a+1\right)^2}}+\dfrac{a}{a+1}\\ A=\sqrt{\left(a+1\right)^2-2\left(a+1\right)\cdot\dfrac{a}{a+1}+\left(\dfrac{a}{a+1}\right)^2}+\dfrac{a}{a+1}\\ A=\sqrt{\left(a+1-\dfrac{a}{a+1}\right)^2}+\dfrac{a}{a+1}\\ A=\left|a+1-\dfrac{a}{a+1}\right|+\dfrac{a}{a+1}\)
Ta có \(\dfrac{a}{a+1}< 1\Leftrightarrow a+1-\dfrac{a}{a+1}>0\)
\(\Leftrightarrow A=a+1-\dfrac{a}{a+1}+\dfrac{a}{a+1}=a+1=2018\)