Yeah. I chose 21, it proudly declared my answer was 21.5! I played around 10 times and it got it right on the nose 8 out of the 10, and was 0.5 off the other 2. Not bad. 4 in 5 is better than I could have done! Lol
And somehow, this just totally astounds me...
guess + (2 AND a) * 2 ^ (i) - (1 AND a) * 2 ^ (i + 1)
guess starts at 64. a starts at 0. i starts at 5....
First guess: 64 + (2 AND 0... which is 0) - (1 AND 0... Which is 0).... Gives 64 in the end.
Second guess: guess starts at 64. a would be 1 (guessed high). i is now 4.
64 + 0 - 1 * 2 ^ 5.... 64-32 = 32
Third guess: 32 + 0 - 1 * 2 ^ 4 = 16
Fourth guess: 8
Fifth guess: 4
Sixth guess: 2
Seventh guess: 1
2 + 0 - 1 * 2 ^ (-1 + 1) = 1
How can the math generate half digit values?? I'm completely baffled by the reports you guys are giving.
We start with 64, then +/- 32, then +/- 16... 8.. 4... 2.... 1... How do we EVER get a half point in there??