ANSWER:

The mathematician made a small fence around himself and declared himself
to be on the outside.