Ta có: \(a=2007-2\sqrt{2006}=\left(\sqrt{2007}-1\right)^2\)
\(\Rightarrow\sqrt{a}=\left|\sqrt{2017}-1\right|=\sqrt{2017}-1\)
Thay \(\sqrt{a}=\sqrt{2017}-1\) vào \(A=\dfrac{a+\sqrt{a}+1}{\sqrt{a}-1}\) ta có:
\(A=\dfrac{2018-2\sqrt{2017}+1+\sqrt{2017}-1}{\sqrt{2017}-1-1}=\dfrac{2018-\sqrt{2017}}{\sqrt{2017}-2}\)