1 - How many terms divisible by 2 are there between 2 and 8??
You subtract the last from the first: 8 - 2 =6. This is the number of terms.
6 / 2 = 3. But 3 doesn't count both 8 and 2. When you are subtracting from each other, only one of them is
counted, so you must add 1 to count both of 8 and 2. So that you have: 2, 4, 6, 8 for a total of 4.
Exactly the same thing with 1,000,000,001 as the first term and 9,9999,999,999, the last term.
9,999,999,999 - 1,000,000,001 =8,999,999,998 /2 =4,499,999,999 + 1 =4,500,000,000.
Got it?