Discrete math · Graphs: degree, paths, connectivity
A table of connections can be multiplied by itself, and the results count the routes through a network.