The number of terms from 1 to 1000 divisible by 7 are
142
The required sequence will be 7, 14, 21, 28, . . . . 994.
Now, the number of terms divisible by 7 will be
994 = 7 + (n - 1)7
[∵ an = a + (n - 1) d]
Here, a = 7, d = 14 - 7 = 7
∴ 142 = 1 + (n - 1)
⇒ n = 142