Using a combinatorial proof (counting the same thing in different ways), show that:
$$2^{(n^2)} = \sum_{i=0}^n \binom{n}{i} (2^n-1)^i$$
I was thinking of having some set $A$ where $|A| = n$, and then trying to find the size of the power set $|P(A\times A)|$. That will get the left hand side of the equation, but I'm having deriving the right hand side in the same way. Thanks for any help!
Your idea is exactly the right one. Let $A=\{1,\ldots, n\}$. Then the cardinality of the power set of $A\times A$ is $2^{(n^2)}$.
Let $\pi:A\times A\to A$ be the first coordinate projection $\pi(a,b)=a$. For $S\subset A\times A$, we let $\pi(S)=\{\pi(x):x\in S\}$. For each $S\subset A\times A$ and $a\in \pi(S)$, we let $S_a=\{b\in A:(a,b)\in S\}$. Then each $S\subset A\times A$ can be uniquely decomposed as $$S=\bigcup_{a\in \pi(S)}\{(a,b):b\in S_a\}$$ We can construct each $S$ by first choosing an $i$, then choosing a set $T\subset A$ with $|T|=i$ (which will eventually be $\pi(S)$), and then for each $a\in T$, we choose a set to be $S_a$. Note that by definition, if $a\in \pi(S)$, then $S_a$ is non-empty (which is where the $-1$ comes from in $2^n-1$).
First choose $i$.
Then choose $T$ with $|T|=i$. There are $\binom{n}{i}$ ways to do this.
For each $a\in T$, choose an $S_a$. There are $2^n-1$ ways to do this for an individual $a$, and there are $i$ values of $a$ in $T$, so we get $(2^n-1)^i$, one factor of $2^n-1$ for each $a$. Summing over $i$ counts the power set of $A\times A$.