If a connected graph has adjacency matrix and diameter , thenare linearly independent. For the largest index with a nonzero coefficient, choose vertices at distance ; the corresponding entries of all lower powers vanish, while by the walk count from powers of an adjacency matrix.
Codex Wiki