See Measures and metrics for networks
Katz centrality solves the problem posed above by giving all vertices a "free" centrality:
....Eq. 2
or rearranging and setting , because all we care is about relative centralities:
This is the Katz centrality. Often one computes this not by inverting the matrix (which requires computations), but by iterating using Eq. 2 (which requires just multiplications per step (number of nonzero elements of , often less steps overall).
A useful extension is to take , i.e. give each node possibly a different weight maybe expressing some non-network importance
By Taylor expanding it we can see it is like Eigenvector centrality, but taking into account paths of all lengths, but with with a weight.