If you have grid, 20x20, starting from top left and making your way to the bottom right, without ever entering the same node more than once in one path, what is the most possible number of unique paths you could have?
Example: If you have a 2x2 grid, you only have two possible unique routes without re-entering a node you have already been in.
A 3x3 grid, this number increases significantly. Is there anyway to calculate the total possible routes? I have heard of self-avoiding walk, which talks about problems like this, but I could not find any theorem or algorithm to calculate this number.