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?
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.
Nice solution.
hold on explain how tallest stack has n-1 rows.a doubt from a student.
Log in to reply
Let the number of logs be N . The following shows how N = 1 , 2 , 3 , . . . 1 0 logs are stacked. Note not all number of rows is n − 1 . When N = T n , such as N = T 1 , T 2 , T 3 , T 4 = 1 , 3 , 6 , 1 0 , the number of rows is n . When N − T n = 1 , 2 , such as 9 , 8 then the number of rows is n − 1 . Observe that N = 8 is an odd one out.
∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘ ∘
Log in to reply
sorry for this
Technically, stacking 8 logs is impossible because it violates that each row must have 1 less log than the one below it.
Log in to reply
@Sharky Kesa – Sure stacking 8 logs is possible... one row of eight logs ;)
Same Way Sir, Nice solution.
This stack of logs can be defined as the expression T m − T n where T x represents the x th triangular number, m is the number of logs on the bottom row (with 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 being one less than the number of logs on top of the stack (so as to remove a portion of T m from the top to reduce it to the stack required. To answer the question, we must maximise the value of m − n .
We have
T m − T n = 2 0 1 5
2 m ( m + 1 ) − 2 n ( n + 1 ) = 2 0 1 5
m 2 + m − n 2 − n = 4 0 3 0
( m + n + 1 ) ( m − n ) = 4 0 3 0
Since m and n are positive integers, we have to determine pairs of positive integers that multiply to give 4030.
4 0 3 0 = 1 × 4 0 3 0 , 2 × 2 0 1 5 , 5 × 8 0 6 , 1 0 × 4 0 3 , 1 3 × 3 1 0 , 2 6 × 1 5 5 , 3 1 × 1 3 0 , 6 2 × 6 5
Since m and n are positive integers, we have m + n + 1 > m − n . In order to maximise the value of m − n , we must minimise m + n + 1 . We will start with the combination 6 2 , 6 5 .
m + n + 1 = 6 5
m − n = 6 2
m + n = 6 4
m = 6 3 , n = 1
Since m and n both satisfy being positive integers, this combination works. Therefore, the maximum value of m − n is 6 3 − 1 = 6 2 . There are 62 rows of logs in the stack.
Good observation of pulling out just m − n .
There is a statement written wrong accidentaly, m+n+1 should be greater than m-n.
We can obtain possible stacking arrangements from factorizations of 2015. Specifically, if 2 0 1 5 = a b , then we have 2 0 1 5 = T n − T m where n = 2 a + 2 b − 1 and m = 2 a − 2 b − 1 , provided that a − 2 b > 0 . For example, with 2 0 1 5 = a b = 6 5 ∗ 3 1 , we obtain 2 0 1 5 = T 6 3 − T 1 , so that we have 6 2 rows, and we can't do any better than that since 2015 is not itself a triangular number.
Problem Loading...
Note Loading...
Set Loading...
We note that the number of logs of a "perfect" stack, that is the top row with 1 log; second, 2 ; third 3 , ... until n logs at the bottom is a triangular number which is given by T n = 2 n ( n + 1 ) . For example: T 4 = 2 4 × 5 = 1 0 . Therefore, for 9 logs, the tallest stack is n − 1 = 3 rows.
To find the number of rows for 2 0 1 5 , we need to find the smallest T n greater than 2 0 1 5 and check T n − 2 0 1 5 . Therefore, we have:
T n ⇒ 2 n ( n + 1 ) n 2 + n − 4 0 3 0 n ⇒ n ⇒ T 6 3 ≥ 2 0 1 5 ≥ 2 0 1 5 ≥ 0 ≥ 6 2 . 9 8 = 6 3 = 2 6 3 × 6 4 = 2 0 1 6
Since 2 0 1 6 − 2 0 1 5 = 1 , the number of rows of the tallest stack for 2 0 1 5 logs is 6 3 − 1 = 6 2 .