Adventures of a mathematician