3 ms·
Um, no. The rectangles are aligned with the X and Y axes, so you choose two rows and two columns, giving 17C2x17C2 rectangles in total: 23409 possible rectangl
by RiderOfGiraffes 17y ago
Um, no. The rectangles are aligned with the X and Y axes, so you choose two rows and two columns, giving 17C2x17C2 rectangles in total: 23409 possible rectangles.
- cperciva 17y agoHe asked how many grids there were, not how many rectangles there were. :-)
- RiderOfGiraffes 17y agoAh - sorry, my turn to do a misreading. As you point out, I computed the number of rectangles that aren't permitted to have all its vertices the same color. My bad - sorry.