This is a impartial game similar to *Take Away Game* that can be solved using game theory. solution of *lucifier* is correct.
On Wed, Jan 16, 2013 at 1:57 AM, Don <[email protected]> wrote: > Sprague–Grundy theorem > > On Jan 12, 6:28 pm, Nguyễn Thành Danh <[email protected]> > wrote: > > Can you please explain by which theorem you use to find out that? > > > > > > > > > > > > > > > > On Sat, Jan 12, 2013 at 11:41 AM, Lucifer <[email protected]> > wrote: > > > if (n%3 == 0) > > > "Player 1 will lose" > > > else > > > "Player 1 will win. The no. of balls picked in the first turn > will > > > be n%3" > > -- > > > --
