Okay, here's something I have been wondering about for a while.
Given a grid of A by B square tiles, there are {AB \choose n} ways to distribute n markers on those tiles (each marker takes up 1 tile, not split between tiles. You can consider it a 2D binary array with n "true" values placed...