## December 2016 Fiendish Function

The Fiendish Function posed during December 2016 had the following sample guesses and replies:

- 1
- 1
- 2
- -6
- 3
- -3
- 4
- -84
- 5
- -69
- 10
- 14

The rule was: "Write the number in binary, then subtract from two to the power of the number".

Suppose the guess was 26:

- Write the number in binary, giving 11010.
- Calculate two to the power of the number, giving 67108864.
- Subtract the number from this, giving 67097854.

So the result is 67097854.

## Earlier answers

Here are the answers to the Fiendish Functions posted in earlier months: