Is that the way you think mathematics is done- by plugging numbers into formulas? Where do you think those formulas come from?

Did you consider looking at simple cases? If there are no points, there is the single segment, (-infinity, infinity). If there is a single point, A, there arethreesegments, (-infinity, infinity), (A, infinity) and (-infinity, A). If there are two points, A and B, with A< B, there 6 segments, (-infinity, infinity), (-infinity, A), (-infinity, B), (A, B), (A, infinity), (B, infinity). Do you see a pattern? With n points you have the intervals from -infinity to each of the n points plus +infinity so n+1 such intervals. Then you have intervals from the "left most point" to each of the other points and to +infinity, n such intervals. That is, you have (n+1)+ (n)+ (n- 1)+ ... + 3+ 2+ 1. Do you know a formula for that? If not, can you work one out?