For example with four vertical and five horizontal lines, evenly spaced, 20 squares are formed: twelve 1x1, six 2x2 and two 3x3.
_____ |_|_|_| |_|_|_| |_|_|_| |_|_|_|
15 lines can create a 5x8 grid.
1x1 -- 402x2 -- 283x3 -- 184x4 -- 105x5 -- 4 == 100
blackjack
flooble's webmaster puzzle