I was playing with numbers and wanted to see how many possible connections there are in a network of $n$ nodes. I found that the answer was equal to the number of nodes minus one, plus the number of nodes minus two, until zero because each node can connect to every other node ($n-1$ other nodes), but then since this is undirected, each subsequent node already defined that connection, so the second node can only connect to $n-2$ nodes.
So, a network of $5$ nodes has $10$ connections — $\quad4+3+2+1$. This looks very similar to factorials, and I figured there was some simplified form for representing this. If not, how would I express this in sigma notation?
Forgive my ignorance and also note I've found that the interconnectivity of a network can be defined with $n(n-1)/2$ (or not divided by 2 for directed edges), and my question is about notation, not graphs.
You want $$(n-1)+(n-2)+\ldots+(n-n)=\sum_{k=1}^n(n-k)\;,$$
which can be simplified to $\displaystyle\sum_{k=1}^{n-1}k$ (or to $\displaystyle\sum_{k=0}^{n-1}k$ if you insist on keeping the $0$ term).