首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
外语
Rita and Sam play the following game with n sticks on a table. Each must remove 1, 2, 3, 4 or 5 sticks at a time on alternate tu
Rita and Sam play the following game with n sticks on a table. Each must remove 1, 2, 3, 4 or 5 sticks at a time on alternate tu
admin
2022-10-18
75
问题
Rita and Sam play the following game with n sticks on a table. Each must remove 1, 2, 3, 4 or 5 sticks at a time on alternate turns, and no stick that is removed is put back on the table. The one who removes the last stick (or sticks) from the table wins. If Rita goes first, which of the following is a value of n such that Sam can always win no matter how Rita plays?
选项
A、7
B、10
C、11
D、12
E、16
答案
D
解析
Let Player A be either Rita or Sam, and let Player B be the other player. If, after one of Player A’s turns, there are exactly 6 sticks left, then Player A can win on his or her next turn This is because if 6 sticks are left after Player A’s turn, then regardless of whether Player B removes 1,2, 3, 4, or 5 sticks, it follows that Player A can win on his or her next turn by removing, respectively, 5,4,3,2, or 1 stick.
n = 7
: If Rita begins by removing 1 stick, then there will be 6 sticks left after Rita’s turn. Therefore, by the remarks above, Rita can win Hence, Sam cannot always win.
n = 10
: If Rita begins by removing 4 sticks, then there will be 6 sticks left after Rita’s turn Therefore, by the remarks above, Rita can win. Hence, Sam cannot always win.
n = 11
: If Rita begins by removing 5 sticks, then there will be 6 sticks left after Rita’s turn Therefore, by the remarks above, Rita can win. Hence, Sam cannot always win.
n = 12
: If Rita begins by removing 1 stick, the n Sam can win by removing 5 sticks on his next turn, because 6 sticks will remain after Sam’s turn. If Rita begins by removing 2 sticks, then Sam can win by removing 4 sticks on his next turn, because 6 sticks will remain after Sam’s turn. By continuing in this manner, we see that if Rita begins by removing k sticks (where k is one of the numbers 1,2,3,4, or 5), then Sam can vin by removing (6-k) sticks on his next turn because 6 sticks will remain after Sam’s turn. Therefore, no matter how many sticks Rita removes on her first turn, Sam can win by removing appropriate numbers of sticks on his next two turns. Hence, Sam can always win.
n = 16
: If Rita removes 4 sticks on her first turn, then Sam will be in the same situation as Rita for n = 12 above, and therefore Rita can win no matter what Sam does. Hence, Sam cannot always win.
The correct answer is D.
转载请注明原文地址:https://kaotiyun.com/show/UttO777K
本试题收录于:
GMAT QUANTITATIVE题库GMAT分类
0
GMAT QUANTITATIVE
GMAT
相关试题推荐
Thebirthrateinacity______tofallasitsgrossdomesticproduct(GDP)risessteadily.
Weallknowthatitispossibleforordinarypeopletomaketheirhomesontheequator(赤道),althoughoftentheymayfeeluncomfor
Weallknowthatitispossibleforordinarypeopletomaketheirhomesontheequator(赤道),althoughoftentheymayfeeluncomfo
I______thatmostpeoplewhowantedtobuyournewspaperwereeithermovingorgettingmarried.
Onlyresidentshereenjoythe______ofusingthisparkinglot.
TheannualcampaigntomakeSingapore’sthreemillionpeoplemorepoliteendedyesterdayandwasimmediatelyfollowedbyanother
Itwassuggestedthat_______bigeventliketheYearofRussiainChinashouldcertainlybenefit________relationshipbetweenth
ThewaytheEarthinteractswiththesun’senergycanbedisplayedinadiagramcalledtheEarth’senergybudget.Itdisplayst
Itishightimethattheinternationalcommunity______togethertofightagainstterrorism.
Ifx,y,andzarepositiveintegersandx2=y2+z2,whichofthefollowingmustbetrue?Ⅰ.x>zⅡ.x=y+zⅢ.y2+z2isapositiveinte
随机试题
主张在组织中保持比较小的管理幅度的人是()
最早提出两岸实现通解、通航、通商“三通”建议的文献是()
A.痉挛毒素B.表皮剥脱毒素C.毒素休克综合征毒素D.红疹毒素E.肉毒毒素破伤风杆菌产生
慢性缩窄性心包炎确诊后便应
向质检所请求用质量保证金赔偿的时效期为30天。()
下列关于我国古代文学常识的表述,不正确的是()。
2,6,12,22,40,(),140
《物权法》第28条规定:“因人民法院、仲裁委员会的法律文书或者人民政府的征收决定等,导致物权设立、变更、转让或者消灭的,自法律文书或者人民政府的征收决定等生效时发生效力。”第29条规定:“因继承或者受遗赠取得物权的,自继承或者受遗赠开始时发生效力。”第30
四个人分别是四个不同的专业,其中一个是语文专业,一个是数学专业,一个是英语专业,一个是政治专业。同时这四个人分别来自四个地方,他们其中一人来自北京,一人来自上海,一人来自广州,一人来自武汉。现已知下列条件:(1)数学专业和来自北京者性别相同。(2)政
下列程序的输出结果是【】。#include<iostream>usingnamespacestd;voidfun(int&rf)}rf*=2;}intmain(){
最新回复
(
0
)