英语翻译PonderThisChallenge:Nlampsaresetinacircle,andforeachintegerMyouhaveatoolthatcantogglethestate(on/off)ofanysetofMconsecutivelamps.FindapossibleNwhichsatisfiesthefollowingstatements:Thesumofitsdigits
英语翻译
PonderThisChallenge:
Nlampsaresetinacircle,andforeachintegerMyouhaveatoolthatcantogglethestate(on/off)ofanysetofMconsecutivelamps.
FindapossibleNwhichsatisfiesthefollowingstatements:
Thesumofitsdigitsislessthan10.
ByapplyingthetoolforM=105severaltimes,wecantoggleasinglelamp.
IfweremoveonelampandstartfromarandominitialsettingfortheremainingN-1lamps,theprobabilitythatthereexistsawaytoapplythetoolforM=32severaltimesandswitchallthelampsoffislessthan0.001%.