I Want Me Less Unit Squares

Denote u ( s ) u(s) as a function of the minimum number of unit squares that can be formed in a rectangular grid with semiperimeter s s where s Z + { 1 } s\in \mathbb Z^+\setminus\{1\} (for example, u ( 6 ) = 5 u(6)=5 ). Find u ( 1153 ) u(1153) .

Clarification:

  • Unit square is a square with side 1.

This is one part of Quadrilatorics .


The answer is 1152.

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.

2 solutions

Chew-Seong Cheong
Dec 29, 2016

Let the two sides of the grid (rectangle) be a a and b b , then the semiperimeter s = a + b s=a+b and the number of unit squares n = a b n=ab . Without loss of generality, let us assume b a b \ge a and their difference b a = d b-a=d , so that d 0 d \ge 0 . Then, we have:

s = a + b = a + a + d = 2 a + d a = s d 2 b = s + d 2 n = a b = s d 2 × s + d 2 = s 2 d 2 4 = s 2 ( b a ) 2 4 \begin{aligned} s & = a+b = a+a+d = 2a + d\\ \implies a & = \frac {s-d}2 \\ \implies b & = \frac {s+d}2 \\ \implies n & = ab = \frac {s-d}2 \times \frac {s+d}2 = \frac {s^2-d^2}4 = \frac {s^2-(b-a)^2}4 \end{aligned}

This means that for a particular s s the smaller the difference d = b a d =b-a , the largest the n n . The largest d d occurs when a a is smallest, that is a = 1 a=1 . Since s = a + b b = s 1 s=a+b \implies b = s-1 and d = b a = s 2 d = b-a = s-2 when n n is minimum. Therefore, n m i n = u ( s ) = s 2 ( s 2 ) 2 4 = s 1 n_{min} = u(s) = \dfrac {s^2 - (s-2)^2}4 = s-1 .

Therefore, u ( 1153 ) = 1153 1 = 1152 u(1153) = 1153-1 = \boxed{1152} .

Kenneth Tan
Jul 12, 2018

In general, suppose the width of the grid is a a , the height of the grid is b b , and the semiperimeter of the grid is s = a + b s=a+b . Then the number of unit squares in this a × b a\times b grid is a b ab . Without loss of generality, let's assume that a > b a>b .

We have a b = ( a + b ) 2 ( a b ) 2 4 = s 2 ( a b ) 2 4 ab=\frac{(a+b)^2-(a-b)^2}{4}=\frac{s^2-(a-b)^2}{4}

So, to make a b ab as small as possible, ( a b ) 2 (a-b)^2 has to be as small as possible, which means a b a-b has to be as small as possible, which in turn means that a a has to be as large as possible and b b to be as small as possible. This can be achieved with a = s 1 a=s-1 , b = 1 b=1 , making a b = s ( s 2 ) 2 4 = s 1 ab=\frac{s-(s-2)^2}{4}=s-1 .

Therefore,

u ( s ) = s 1 u(s)=s-1

Now, evaluating u ( 1153 ) u(1153) , we get 1152 1152 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...