Terms and Sequences

2012-01-29 4:50 am
74 cans of food are stacked in layers. Apart from the top layer, the number of cans in each of the other layers is 1 fewer than the layer below it. When the bottom layer has the least number of cans of food, how many layers are there?

回答 (2)

2012-01-30 3:10 am
✔ 最佳答案
Let there are n layers. The first layer has a cans

Then total no. of cans = (n/2)[2a + (n - 1)]

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

n^2 + (2a - 1)n = 148

By trial and error, the solution is a = 17, n = 4

There are 4 layers
2012-02-02 8:18 pm
Let the bottom layer has n cans, and there are r layers, so
n + (n - 1) + . . . + (n - r + 1) = 74
==> (2n - r + 1)*(r/2) = 74
==> (2n - r + 1)*r = 74*2 = 37*4 = 4*37
if r = 2, then 2n - r + 1 = 74, so n = 37.5 (reject, not an integer)
if r = 4, then 2n - r + 1 = 37, so n = 20 (Ok)
if r = 37, then 2n - r + 1 = 4, so n = 20 (reject, as r > n)
Ans : There are 4 layers, and the bottom layer has 20 cans.



收錄日期: 2021-04-26 19:18:43
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20120128000051KK00791

檢視 Wayback Machine 備份