Happiness requires both pleasure and purpose - neither alone is sufficient.
In mathematics, you don't understand things. You just get used to them.