Dear CV team,
Can you please help me with the approach--
How many
even numbers between 199–401 can be given by
below formula—
=> {(last number divisible by 2) - (1st number divisible by 2)}/ 2 + 1
=> (400-200)/2 +1 = 101
and also by a + (n-1)d= last term divisible by 2
where a is the 1st term divisible by 2, n is the number of terms, d is the common difference
=> 200+ (n-1)*2=400
=> n-1= 100
=> n=101
Actual Question:- Now, If the question is how many
Even numbers are there
from 199–401?
do we need to calculate like, take the end values and proceed as below---
=> (401-199)/2 +1
=> 102
or
we need to calculate as below-
=> a= 1st term divisible by 2. i.e. again 200 (as 199 is not the 1st term which is divisible by 2)
=> nth term divisible by 2 i.e. again 400 (as 401 is not the nth term which is divisible by 2)
=> (400-200)/2 +1 = 101 (Again same answer as in the case of between 199-401)