200 logs are stacked in the following manner: 20 logs in the bottom row, 19 in the next row, 18 in the row next to it and so on. In how many rows are the 200 logs placed and how many logs are in the top row?
200 logs are stacked in the following manner: 20 logs in the bottom row, 19 in the next row, 18 in the row next to it and so on. In how many rows are the 200 logs placed and how many logs are in the top row?

Solution: 

The numbers of logs in each row are in the form of an A.P. as 20, 19, 18,…

For the provided A.P.,

The first term, a = 20 and the common difference, d = a2a1 = 19−20 = −1

Let for a total of 200 logs to be arranged in n rows.

Thus, Sn = 200

Using the sum of the nth term formula,

Sn = n/2 [2a +(n -1)d]

S12 = 12/2 [2(20)+(n -1)(-1)]

400 = n (40−n+1)

400 = (41-n)

400 = 41nn2

n2−41+ 400 = 0

n2−16n−25n+400 = 0

n(n −16)−25(n −16) = 0

(−16)(n −25) = 0

Either (n −16) = 0 or n−25 = 0

n = 16 or n = 25

Using the nth term formula,

an = a+(n−1)d

a16 = 20+(16−1)(−1)

a16 = 20−15

a16 = 5

The 25th term in the same way could be written as;

a25 = 20+(25−1)(−1)

a25 = 20−24

= −4

Because the numbers cannot be negative, the number of logs in the 16th row is 5..

As a result, 200 logs can be arranged in 16 rows, with 5 logs in the 16th row.