Wat ?
Here is an example of an improved enumeration of points from 1 to 10. If we take the cost of one inversion as $1, then we save $4: starting from point 3, we make a step of 5 in the cycle, points 1,2,6,7 are formed using the calculated inversion for 4,5,9,10 respectively.
$1 $1
---------+-------------------+---------
$0 | $1 $0 | $1
.-------+-------. .-------+-------.
| $0 | $1 | | $0 | $1 |
| .---+---. | | .---+---. |
| | | | | | | | | |
1 2 3 4 5 6 7 8 9 10
funny. but real life not so easy.
The wise man asked the king to pay him one grain of wheat for the first square on the chessboard, two for the second, four for the third, and so on, doubling the number of grains for each subsequent square.