Hacker News new | ask | show | jobs
by kylebrown 4998 days ago
Those ambiguities make no difference to the answer. Answering 4.5 just means you forgot that starting a count from 0 gives a different total than starting from 1.
1 comments

If you're using the set of integers, then [1,9) is equivalent to [1,8]; and that would have a different answer from 5 for "what the center is"; so, it does affect the answer.
[1,9) is not equivalent to [1,8]. The center of [1,9) is infinitesimally close to the center of [1,9]. Its exactly equal when you take the limit.
... I was using that nomenclature for the short hand of "inclusive/exclusive". 1 to 9 exclusive is 1 to 8 in the integer set. Sorry for the lack of clarity. Perhaps now we can get to my original point?