Say I have 'k' candies that I distribute among 'n' people. They all sit in a circle, and those people with two or more candies give one each to their two neighbours. Now there is a new distribution of candies. They go on like this until nobody has two or more candies. Is there a maximum value of k for a given n, such that this cycle will always terminate?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The game stops whenever k<n. For k=n, the game may or may not terminate and for k>n, it is always non-terminating. The latter two cases are easy to see (with specific non-terminating examples for k=n). However, I couldn't figure out how to prove it for the k<n case. I'll be glad if you guys can help out!