Count 'em All 22!

The figure above shows a 50 × 40 50\times40 grid... but this time with a mega giant 20 × 15 20\times15 hole in the middle! How utterly convenient!

Count the total number of quadrilaterals in the grid above.

Clarifications :

  • A quadrilateral is a polygon that has 4 sides.
  • The quadrilaterals cannot contain the giant hole! I don't like giant holes. :(
  • The mouse has gone haywire I think.

This is one part of Quadrilatorics .


The answer is 418290.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

X X
Aug 4, 2018

Hint:Let the numbers of rectangles in a m × n m\times n grid be f ( m , n ) = m n ( m + 1 ) ( n + 1 ) 4 f(m,n)=\dfrac{mn(m+1)(n+1)}4

Evaluate f ( 20 , 40 ) + f ( 10 , 40 ) + f ( 50 , 18 ) + f ( 50 , 7 ) f ( 20 , 18 ) f ( 20 , 7 ) f ( 10 , 18 ) f ( 10 , 7 ) f(20,40)+f(10,40)+f(50,18)+f(50,7)-f(20,18)-f(20,7)-f(10,18)-f(10,7) and get 418290 418290


a 1 a 2 a 3 b 1 b 2 b 3 c 1 c 2 c 3 \begin{array}{|c|c|c|}\hline a_1 & a_2 & a_3 \\ \hline b_1 & b_2 & b_3 \\ \hline c_1& c_2 & c_3 \\ \hline \end{array}

Cut the rectangle into nine areas(notice that b 2 b_2 is the hole).

Count the rectangles in "row a a ( a 1 a 2 a 3 a_1\cup a_2\cup a_3 ,the 50 × 18 50 \times18 rectangle)","row c c ","column 1 1 ","column 3 3 ".

But we counted the rectangles in a 1 , a 3 , c 1 , c 3 a_1,a_3,c_1,c_3 twice,so we have to subtract it.

Nice construction, it's also what I did, but was lazy to write the solution. XP

Kenneth Tan - 2 years, 10 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...