It can be observed that the numbers of logs in rows are in an A.P.
20, 19, 18…
For this A.P,
a = 20
a2−a1=19−20=−1Let a total of 200 logs be placed in n rows.Sn=200Sn=n2[2a+(n−1)d]200=n2[2(20)+(n−1)(−1)]400=n(40−n+1)400=n(41−n)400=41n−n2n2−41n+400=0n2−16n−25n+400=0n(n−16)−25(n−16)=0(n−16)(n−25)=0Either (n−16)=0 or n−25=0n=16 or n=25an=a+(n−1)da16=20+(16−1)(−1)a16=20−15a16=5Similarly,a25=20+(25−1)(−1)a25=20−24=−4
Clearly, the number of logs in 16th row is 5. However, the number of logs in 25th row is negative, which is not possible.
Therefore, 200 logs can be placed in 16 rows and the number of logs in the 16th row is 5.