Suppose there is a square matrix $A$, with random elements (say $A[i, j] \geq 1$ with probability $p$). This can be thought of as the adjacency matrix of a (directed) graph and $A^k[i, j]$ as the number of path from $i$ to $j$ with length $k$.
Two question:
What is the probability that Prob($A^k[i, j] \geq 1$). I.e. what is the probability that there is a path of length $k$ between two given nodes, in a random graph.
How would the above probability change, if I tell you:
- (a) $A^l[i, j]\geq 1, \text{for some }l, l > k$
- (b) $A^l[i, j]\geq 1, \text{for some }l, l < k$.
I am not sure how hard are these questions. I did a little bit of thinking, didn't get anywhere. I hope I am not asking trivial questions.




This answer is wrong. It is retained here as the reason it is wrong may be of interest
Suppose that the graph has $n$ nodes. A $k$-length path from $i$ to $j$ consists of $i$ as node 0, followed by nodes 1, 2, ... , $k$ where $j$ is the $k$-th node. We have $n$ choices for node 1, $n-1$ choices for node 2 ... down to to $n-k+2$ choices for the ($k-1$)-th node, and then one choice for the $k$-th node.
Hence if the nodes have probability $p$ of being adjacent (and the probabilities are independent) then the probability of there being at least one $k$ length path from $i$ to $j$ is $$ \Pr(\text{At least one path of length $k$ from $i$ to $j$}) = \left( \Pi_{s=1}^{k-1} \left( 1 - (1-p)^{n-s+1} \right) \right)\cdot p $$