If you have an n by m grid of points, you can connect 4 points to make a square in (2mn^3-2mn-2n^4+n^...
If you have an n by m grid of points, you can connect 4 points to make a square in (2mn^3-2mn-2n^4+n^2)/12 different ways.
#cleaningscrapsofpaperoffmydesk
Syndicated 2012-12-06 02:52:15 from David Barksdale - Google+ Posts
