Yesterday I was doodling around with my very simple calculator as shown in the picture.
First I would enter a few digits to make an integer (i.e. no decimal places). Then I would perform a simple calculation to get a second integer. At first I chose the numbers carefully as shown in the following list. I chose four digit numbers and, as you can see, I got some two digit answers. I wasn't exactly surprised because I had chosen the starting numbers specifically to yield those answers:
3194, 17
3195, 18
4276, 19
5429, 20
6709, 22
8843 23
Next, instead of choosing the starting numbers myself, I removed any bias by using a random-number generator. I set it to give numbers between 1000 and 9999 inclusive. I then did the same calculation as before. Here are some of the results.
1127, 13
1152, 14
1318, 16
1362, 18
1386, 20
1450, 17
1491, 14
1536, 18
1628, 20
1662, 19
1666, 20
1838, 21
1987, 19
2305, 21
2373, 19
2591, 18
2658, 23
2693, 22
2868, 25
3132, 17
3317, 16
3320, 21
3547, 18
3598, 23
3615, 18
3660, 23
Notes
- I omitted a tag that would probably have given the answer away. I substituted the tag enigmatic-puzzles
As stated, the first list was biased by the numbers I chose. However all the numbers, in both lists, were subjected to the same calculation in order to arrive at the answers.
It is possible to calculate the second column using very simple arithmetic.
I have sorted the first columns into numerical order. However the order has no effect on the answers. I just did it for neatness.
The answer can be worked out purely from the second, randomly generated list. You don't need the first list at all. However the first list is 100% correct and I included it because it might possibly give you a clue or at least start you on the right path.
At no stage in the calculation will you encounter any decimal points - only integers.
Questions
A. What game was I playing? Or rather what consistent calculation did I perform on all the above 4 digit integers in order to derive the second column?
B. To get the green tick, look at the number on the calculator. It is 1234567890. If I performed the same calculation on that number, what would be the result in the second column?
