Given a range [$a$,$b$], how can I find the $x$ middle numbers?
For example:
[$1$,$10$]
Now I know that the middle $2$ numbers start with "$5$", but is there any way I can find the starting number, which in this case is "$5$", given a range doing some basic calculation$?$
If you meant the middle point of the interval then it is $\;M:=\cfrac{a+b}2\;$ . Why? Because (check this)
$$(1)\;\;a\le M\le B\;\;,\;\;\;(2)\;\;M-a=b-M$$
In fact, (2) above is the explanation for the formula for $\;M\;$ in the first line.