It is an Adjacency matrix, on the right side is a direct transitive closure. Explain to me why the first one is 0, second - 1, third - 2 etc. I don't understand this transitive closure.
I don't have any idea how to solve such tasks. Thats why I ask for help. Maybe you can show the algorithm of solving it, if you know. Or, I would appreciate if you could advise me sites/books that show how to solve such equations. What should I do? I have no idea how to solve it, that's why I'm...