[Date Index] [Thread Index] [Author Index]
Hi! I have a little question about Mathematica. I have defined a lattice using the adjacency matrix, and I want to determine all the possible paths on my lattice from site i to site j (i may be equal to j) that have a given Manhattan length. I have found the function "NumberOfKPaths" that counts these paths, but I don't know how to ask Mathematica not only to count them, but also to print them... Thanks a lot for your ideas! Julien.