Puzzle time - subtracting around the corner
-
Write down four integers between 0 and 100, in a horizontal line. Now perform the following operation: Compute the (absolute) difference between the first and second, and write it under the first; then write the difference between the second and third under the second; then the difference between the third and the fourth, under the third; finally, the difference between the fourth and the first, under the fourth. You now have a new line of four integers, still between 0 and 100.
Example: If you start with 41 22 6 93, your new line will be 19 16 87 52.
If you repeat this operation you will eventually reach 0 0 0 0. (Why? Note that with five numbers instead of four, this might never happen.) Your score is the number of operations it takes to reach this sorry state.
For the example above, you end up with
41 22 6 93
19 16 87 52
3 71 35 33
68 36 2 30
32 34 28 38
2 6 10 6
4 4 4 4
0 0 0 0for a score of 7 (pretty crummy).
What's the highest score you can achieve?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login