From the bottom, the number of logs in adjacent rows are 20, 19, 18,...
Since the logs decreases uniformly by 1 in each row, the number of logs in the rows form an AP.
Here, a = 20, d = 19 - 20 = -1
Let there be n rows such that Sn = 200.
The sum of n terms of an AP is given by
i.e., the number of rows is either 16 or 25.
For n = 25, we have:
T25 = a + 24 d = 20 + 24 ⨯ (-1) = -4, which is not possible.
Therefore, n = 25 is not acceptable.
For n = 16, we have:
T16 = a +15d = 20 + 15 ⨯ (-1) = 5
Thus, there are 16 rows and 5 logs are placed in the top row.