Australian Mathematics Competition 2015 Q30

Algebra Level 4

In a stack of logs, each row has exactly one fewer log than the row below. With 9 logs, the tallest possible stack is 4 logs at the bottom, 3 logs in the second row and 2 logs on the top row, making a total of 3 rows. With 2015 logs, how many rows are there in the tallest possible stack?


The answer is 62.

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.

3 solutions

Chew-Seong Cheong
Sep 20, 2015

We note that the number of logs of a "perfect" stack, that is the top row with 1 1 log; second, 2 2 ; third 3 3 , ... until n n logs at the bottom is a triangular number which is given by T n = n ( n + 1 ) 2 T_n = \dfrac{n(n+1)}{2} . For example: T 4 = 4 × 5 2 = 10 T_4 =\dfrac{4\times 5}{2} = 10 . Therefore, for 9 9 logs, the tallest stack is n 1 = 3 n-1=3 rows.

To find the number of rows for 2015 2015 , we need to find the smallest T n T_n greater than 2015 2015 and check T n 2015 T_n - 2015 . Therefore, we have:

T n 2015 n ( n + 1 ) 2 2015 n 2 + n 4030 0 n 62.98 n = 63 T 63 = 63 × 64 2 = 2016 \begin{aligned} T_n & \ge 2015 \\ \Rightarrow \frac{n(n+1)}{2} & \ge 2015 \\ n^2 + n - 4030 & \ge 0 \\ n & \ge 62.98 \\ \Rightarrow n & = 63 \\ \Rightarrow T_{63} & = \frac{63\times 64}{2} = 2016 \end{aligned}

Since 2016 2015 = 1 2016-2015 = 1 , the number of rows of the tallest stack for 2015 2015 logs is 63 1 = 62 63-1 = \boxed{62} .

Nice solution.

Sharky Kesa - 5 years, 8 months ago

hold on explain how tallest stack has n-1 rows.a doubt from a student.

Kaustubh Miglani - 5 years, 8 months ago

Log in to reply

Let the number of logs be N N . The following shows how N = 1 , 2 , 3 , . . . 10 N=1,2,3,...10 logs are stacked. Note not all number of rows is n 1 n-1 . When N = T n N=T_n , such as N = T 1 , T 2 , T 3 , T 4 = 1 , 3 , 6 , 10 N=T_1,T_2,T_3,T_4=1,3,6,10 , the number of rows is n n . When N T n = 1 , 2 N-T_n = 1,2 , such as 9 , 8 9,8 then the number of rows is n 1 n-1 . Observe that N = 8 N=8 is an odd one out.

\begin{array} {cccccccccc} & & & & & & & & & \circ \\ & & & & & \circ & & & \circ \circ & \circ \circ \\ & & \circ & & \circ \circ & \circ \circ & \circ \circ \circ & & \circ \circ \circ & \circ \circ \circ \\ \circ & \circ \circ & \circ \circ & \circ \circ \circ \circ & \circ \circ \circ & \circ \circ \circ & \circ \circ \circ \circ & \circ \circ \circ \circ \circ \circ \circ \circ & \circ \circ \circ \circ & \circ \circ \circ \circ \end{array}

Chew-Seong Cheong - 5 years, 8 months ago

Log in to reply

sorry for this

Kaustubh Miglani - 5 years, 8 months ago

Technically, stacking 8 logs is impossible because it violates that each row must have 1 less log than the one below it.

Sharky Kesa - 5 years, 8 months ago

Log in to reply

@Sharky Kesa Sure stacking 8 logs is possible... one row of eight logs ;)

Otto Bretscher - 5 years, 8 months ago

Same Way Sir, Nice solution.

Kushagra Sahni - 5 years, 8 months ago
Sharky Kesa
Sep 20, 2015

This stack of logs can be defined as the expression T m T n T_m - T_n where T x T_x represents the x x th triangular number, m m is the number of logs on the bottom row (with T m T_m being the number of logs if the stack was 'perfect', that is have one log at the to, two logs in the next row, and so forth) and n n being one less than the number of logs on top of the stack (so as to remove a portion of T m T_m from the top to reduce it to the stack required. To answer the question, we must maximise the value of m n m - n .

We have

T m T n = 2015 T_m - T_n = 2015

m ( m + 1 ) 2 n ( n + 1 ) 2 = 2015 \dfrac {m(m+1)}{2} - \dfrac {n(n+1)}{2} = 2015

m 2 + m n 2 n = 4030 m^2 + m - n^2 - n = 4030

( m + n + 1 ) ( m n ) = 4030 (m+n+1)(m-n)=4030

Since m m and n n are positive integers, we have to determine pairs of positive integers that multiply to give 4030.

4030 = 1 × 4030 , 2 × 2015 , 5 × 806 , 10 × 403 , 13 × 310 , 26 × 155 , 31 × 130 , 62 × 65 4030 = 1 \times 4030, 2 \times 2015, 5 \times 806, 10 \times 403, 13 \times 310, 26 \times 155, 31 \times 130, 62 \times 65

Since m m and n n are positive integers, we have m + n + 1 > m n m+n+1 > m-n . In order to maximise the value of m n m-n , we must minimise m + n + 1 m+n+1 . We will start with the combination 62 , 65 62, 65 .

m + n + 1 = 65 m+n+1=65

m n = 62 m-n=62

m + n = 64 m+n=64

m = 63 , n = 1 m=63, n=1

Since m m and n n both satisfy being positive integers, this combination works. Therefore, the maximum value of m n m-n is 63 1 = 62 63-1=62 . There are 62 rows of logs in the stack.

Moderator note:

Good observation of pulling out just m n m - n .

There is a statement written wrong accidentaly, m+n+1 should be greater than m-n.

Low Pei Zuo - 5 years, 8 months ago

Log in to reply

You are right

Kushagra Sahni - 5 years, 8 months ago
Otto Bretscher
Sep 22, 2015

We can obtain possible stacking arrangements from factorizations of 2015. Specifically, if 2015 = a b 2015=ab , then we have 2015 = T n T m 2015=T_n-T_m where n = a + 2 b 1 2 n=\frac{a+2b-1}{2} and m = a 2 b 1 2 m=\frac{a-2b-1}{2} , provided that a 2 b > 0 a-2b>0 . For example, with 2015 = a b = 65 31 2015=ab=65*31 , we obtain 2015 = T 63 T 1 2015=T_{63}-T_1 , so that we have 62 \boxed{62} rows, and we can't do any better than that since 2015 is not itself a triangular number.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...