英语翻译
Out of N soldiers,standing in one line,it is required to choose several to send them scouting.
In order to do that,the following operation is performed several times:if the line consists of more than three soldiers,then all soldiers,standing on even positions,or all soldiers,standing on odd positions,are taken away.The above is done until three or less soldiers are left in the line.They are sent scouting.Find,how many different groups of three scouts may be created this way.
Note:Groups with less than three number of soldiers are not taken into consideration.
人气:402 ℃ 时间:2020-10-01 03:23:44
解答
有N个士兵排成一行,现在需要选出几个人去侦察.
为了完成这个可执行如下操作:如果有多于三个士兵,那么所有在奇数位置(或所有在偶数位置)的将被剔除.重复执行,直到不多于三个士兵.他们就是要被派遣去侦察的人.
求出通过这方法,可以产生有多少组三个士兵的结果.
注意:产生少于三个士兵的不在考虑范围
推荐
猜你喜欢
- 已知函数f x满足:对于任意实数x,y f(xy)=f(x)+f(y)
- i very care.do you know.i hate cf.
- 驾着云雾在空中飞行.形容速度极快,也形容晕头转向的感觉 ( )
- 河道里,沙滩上的石块,其大小的分布特点是:上游_______,中游____,下游_____.
- 某小组计划做一批“中国结”,如果每人做5个,那么比计划多了9个;如果每人做4个,那么比计划少了15个,小组成员共有多少名?他们计划做多少个“中国结”?
- 数列9,36,72,108,_,按逻辑规律下个数字应该是?
- 你们上周听过关于野生动物的报告吗用英语怎么说
- 为什么汽油机的压缩冲程过程中活塞把气体压缩后,气体内能增加温度升高压强增大?