MathCastle
Graph TheorySuperchallengeTrees

Trees · Superchallenge problem

The 3×33 \times 3 grid graph has 99 vertices arranged in a 3×33 \times 3 square: vertices 11 through 99 where vertex ii is at row ⌈i/3⌉\lceil i/3 \rceil and column (i−1 mod 3)+1(i-1 \bmod 3) + 1. Edges connect adjacent vertices (horizontally and vertically). How many spanning trees does this graph have?