首页
登录
职称英语
Rita and Sam play the following game with n sticks on a table. Each must remove
Rita and Sam play the following game with n sticks on a table. Each must remove
游客
2025-02-27
8
管理
问题
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://tihaiku.com/zcyy/3974712.html
相关试题推荐
Thefollowingdatasufficiencyproblemsconsistofaquestionandtwostatements
Whichofthefollowingisequaltothecubeofanon-integer?A、-64B、-1C、8D、9
If(x-1)2=144,whichofthefollowingcouldbethevalueof2x?A、-26B、-22C、-11
Ifthesumoffiveconsecutiveoddintegersis5,whichofthefollowingcouldb
Ifrisnegativeandsispositive,whichofthefollowingmustbenegative?A、|r
Ifxandyareoddintegers,whichofthefollowingmustalwaysbeanon-integer
Thefollowingdatasufficiencyproblemsconsistofaquestionandtwostatements
Thefollowingdatasufficiencyproblemsconsistofaquestionandtwostatements
36Ifxisanintegerandy=4x+3,whichofthefollowingcannotbeadivisorof
Whichofthefollowingisequaltox24forallpositivevaluesofx?A、x12+x12B、
随机试题
LookattheBuildingDirectorybelow.ForQuestions6-10,decidewhichf
Itgoeswithoutsaying,then,thatlanguageisalsoapoliticalinstrument,
WhatdoesFrankmeanwhenhesays"itcreatesextraworkload"?[br][originalt
文学叙事话语中所指的对象仅存在于话语之中,而非在话语之外的现实世界中()
融资融券对于投资者的要求较高,目前大部分证券公司要求普通投资者开户时间须达到(
某公司于2007年1月1日发行了一只期限为8年的债券,票面利率为9%,面值为10
房地产经纪人员必须有完善的知识结构,这一知识结构的核心内容包括()。A.法律及
银行承兑汇票的承兑银行,应当按照票面金额向出票人收取()的手续费。A:千分之一
企业发生安全生产事故后,针对事故发生的原因,制定相应的安全技术和管理措施,下列措
妊娠9周时出现难免流产,首选的治疗原则是A.保胎 B.注射催产素 C.抗生素
最新回复
(
0
)