I have a $16\times16$ grid. $256$ squares.
In each square there can be a value from $1$-$256$.
How do I work out how many total combinations the complete grid could have?
I would like the know the formula so I can work it out for different grid sizes.