## August 2018 Fiendish Function

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

- 1
- 3
- 2
- 10
- 3
- 15
- 4
- 36
- 5
- 45
- 10
- 170

The rule was: "Write the number in binary, write it twice, then interpret it as binary".

Suppose the guess was 22:

- Write the number in binary, giving 10110.
- Write it twice, giving 1011010110.
- Interpret the number as binary, giving 726.

So the result is 726.

## Earlier answers

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