## August 2017 Fiendish Function

The Fiendish Function posed during August 2017 had the following sample guesses and replies:

- 1
- 2
- 2
- 12
- 3
- 14
- 4
- 104
- 5
- 106
- 10
- 1020

The rule was: "Write the number in binary, then add the original number".

Suppose the guess was 26:

- Write the number in binary, giving 11010.
- Add the original number, giving 11036.

So the result is 11036.

## Earlier answers

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