There are N egg baskets and the number of eggs in each
basket is a known quantity. Two players take turns to remove

these eggs from the baskets. On each turn, a player must
remove at least one egg, and may remove any number of eggs

provided they all belong to the same basket. The player
picking the last egg(s) wins the game. If you are allowed to
decide who

is going to start first, what mathematical function would
you use to decide so that you end up on the winning side?

Answer Posted / guest

if anyone knows do reply me to this answer.....

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are local variables c?

552


What do you mean by Recursion Function?

633


Difference between goto, long jmp() and setjmp()?

711


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

3983


How to throw some light on the b tree?

606






The __________ attribute is used to announce variables based on definitions of columns in a table?

673


Explain why can’t constant values be used to define an array’s initial size?

857


How do you override a defined macro?

702


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1447


What kind of structure is a house?

558


Explain do array subscripts always start with zero?

762


What is a memory leak? How to avoid it?

578


What is call by value in c?

559


What is string function in c?

541


Why is it that not all header files are declared in every C program?

684