| Viewing Single Post From: Math Challenge | |
|---|---|
| insecure | Oct 21 2005, 10:46 AM |
|
Elite member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
He actually said n2 + 2, not 2n + 2. I think he meant n * n + 2 (i.e. n to the power 2, plus 2). The following reasoning assumes this, but if he did mean 2n + 2 then the mathematics should be adjusted accordingly, but the logic still works even though the numbers will be different. So, during a week he can hack:
without going to jail. However, there is an additional constraint, which is that he can't hack more than n machines on day n of the month without being banned from hacking. So, if we keep this example simple by restricting our attention to January, where the beginning of the week coincides with the beginning of the month, the above table becomes 1, 2, 3, 4, 5, 6, 7 for the first week. In the second week, it becomes 3, 6, 10, 11, 12, 13, 14. In the third week, it will be 3, 6, 11, 18, 19, 20, 21. In the fourth, it will be 3, 6, 11, 18, 26, 27, 28. And the fifth week (in which we roll over to Feb halfway through), it will be 3, 6, 11, 1, 2, 3, 4. Get the idea now? |
![]() |
|
| Math Challenge · Off-topic | |




![]](http://209.85.122.85/static/1/pip_r.png)


6:28 PM Nov 28