## July 2018 Fiendish Function

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

- 1
- 1
- 2
- 5
- 3
- 10
- 4
- 21
- 5
- 26
- 10
- 130

The rule was: "Add the squares of the number's divisors together".

Suppose the guess was 14:

- Find the number's divisors, giving 1, 2, 7, 14
- Square them, giving 1, 4, 49, 196
- Add these together, giving 250.

So the result is 250.

## Earlier answers

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