Question: what number is halfway between 3000 and 4000?
Answer: if you mean the number halfway between then you use the formula (a+b)/2, which gives you 3500. 999 of them.