in front of you lies a figure made up with 20 x 10 square blocks . will you be able to find out the number of unique squares and rectangles that are being formed inside this figure by combining two or more distinct squares ?
b 11550 there is just one way to find it out and that is the generic computing method . the number of squares and rectangles formed = ( summation of column numbers ) = ( 1 + 2 + 3 + . . . . . . + 19 + 20 ) * ( 1 + 2 + 3 + . . . . . . + 9 + 10 ) = 210 * 55 = 11550
multiply(divide(multiply(20, add(20, const_1)), const_2), divide(multiply(add(10, const_1), 10), const_2))