Với \(n\in N;n>0\) có:
\(\dfrac{1}{\left(n+1\right)\sqrt{n}+n\sqrt{n+1}}=\dfrac{1}{\sqrt{n\left(n+1\right)}\left(\sqrt{n+1}+\sqrt{n}\right)}=\dfrac{\sqrt{n+1}-\sqrt{n}}{\sqrt{n\left(n+1\right)}\left(n+1-n\right)}=\dfrac{1}{\sqrt{n}}-\dfrac{1}{\sqrt{n+1}}\)
Áp dụng vào P có:
\(P=1-\dfrac{1}{\sqrt{2}}+\dfrac{1}{\sqrt{2}}-\dfrac{1}{\sqrt{3}}+...+\dfrac{1}{\sqrt{2016}}-\dfrac{1}{\sqrt{2017}}\)
\(=1-\dfrac{1}{\sqrt{2017}}\)
\(\Rightarrow a^2+b=1^2+2017=2018\)
Ý A