Suppose we have 5 points A, B, C, D, E then the segments can be labelled by their endpoints:
AB, AC, AD, AE, BC, BD, BE, CD, CE, DE (10 segments).
For 35 points P1, P2, ..., P35 the following connections apply:
P1P2, P1P3, ..., P1P35 (34 segments)
P2P3, P2P4, ..., P2P35 (33 segments)
...
P34P35 (1 segment).
So the total number of segments is 34+33+...+1.
These can be grouped in pairs (34+1)+(33+2)+(32+3)+...+(19+16)+(18+17)=17×35=595 segments.
The formula for n such points is f(n)=½n(n-1).
n |
f(n) |
1 |
0 |
2 |
1 |
3 |
3 |
4 |
6 |
5 |
10 |