## 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 19:

- Write the number in binary, giving 10011.
- Calculate two to the power of the number, giving 524288.
- Subtract the number from this, giving 514277.

So the result is 514277.

## Earlier answers

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