9. In the arithmetic sequences $3,10,17, \cdots, 2005$ and $3,8, 13, \cdots, 2003$, the number of terms that have the same value is $\qquad$.
9.58.

Subtract 3 from each term of the two sequences, transforming them into $0,7,14, \cdots$, 2002 and $0,5,10, \cdots, 2000$. The first sequence represents multiples of 7 not exceeding 2002, and the second sequence can be seen as multiples of 5 within the same range. Therefore, the common terms are multiples of 35. Hence $\left[\frac{2002}{35}\right]+1=58$.