About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
June 1999
Let the number of medals remaining before day L be written as XL. We have N = XN. From the way that medals are passed out, for L=1,2,...,N–1 we have XL+1 = (6/7)(XL – L). We solve this recurrence to find
Then the initial number of medals must be
Because this is an integer, we must have that 6N–1 is a divisor
of 7N (N–6). Since 6 and 7 are relatively prime, we conclude
that We started with X1=36.
On the first day, 1+5=6 medals were handed out leaving X2=30.
On the second day, 2+4=6 medals were handed out leaving X3=24.
Similarly X4=18, X5=12, and X6=6, so that on the last (sixth)
day, the remaining N=6 medals were awarded. |
If you have any problems you think we might enjoy, please send them in. All replies should be sent to: ponder@il.ibm.com