|
此文章由 limit-2010 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 limit-2010 所有!转贴必须注明作者、出处和本声明,并保持内容完整
本帖最后由 limit-2010 于 2013-5-3 22:34 编辑
rabbit63 发表于 2013-5-3 19:38 ![](static/image/common/back.gif)
如果班上的人数改为100人.能总结出什么原则或规律?
100人可以最多有多少天, 比这个问题要算的情况多得多
这个问题是选择题, 知道天数, 算出需要多少人好像更简单
五个选项:
A:30
B:35
C:42
D:60
E:72
30=2*15=3*10=5*6 = 5*2*3
人数:17,13,11,10
35=5*7
人数:12
42=2*21=3*14=6*7=2*3*7
人数:23,17,13,12
60=2*30=3*20=4*15=5*12=6*10= 2^2*3*5
note: greatest common divisor gcd(2,30)=2, gcd(6,10)=2
60=3*20=4*15=5*12=2^2*3*5
人数:23,19,17,12
Observation : The number of people needed is minimised when the number of days is factorised as a product of prime powers
e.g. if # days=365 = 5*73, we'll need at least 5+73=78 students to have a one year cycle
if #days=366=2*3*61, we'll need 2+3+61=66 students for a leap year cycle
In particular, for E=72=2^3 * 3^2
we'll need at least 2^3 + 3^2= 17 students
Therefore, option D is correct
-------------------------------------------------------------------------------------------------------
|
|