解方程(n 2+n)x 2-(2n+1)x+1=0,得 x 1 =
1
n+1 , x 2 =
1
n ,
∴ d n =| x 1 - x 2 |=
1
n -
1
n+1
∴ d 1 + d 2 +…+ d 2004 =(1-
1
2 )+(
1
2 -
1
3 )+…+(
1
2004 -
1
2005 )=1-
1
2005 =
2004
2005 .
故选C.
解方程(n 2+n)x 2-(2n+1)x+1=0,得 x 1 =
1
n+1 , x 2 =
1
n ,
∴ d n =| x 1 - x 2 |=
1
n -
1
n+1
∴ d 1 + d 2 +…+ d 2004 =(1-
1
2 )+(
1
2 -
1
3 )+…+(
1
2004 -
1
2005 )=1-
1
2005 =
2004
2005 .
故选C.