Should the right answer to this question(below) be 14 and not 31? because
A_{ij}^{k} means number of paths from i to j of length K. So A_{12}^{8} = 14
We then represent the graph as indcidence matrices and go from there on:
A = { {0,1,0,0}, {1,0,1,0}, {1,1,0,1}, {1,0,0,0} }
A[itex]^{8} = {...