Writing is like sex. First you do it for love, then you do it for your friends, and then you do it for money.
The beauty of mathematics only shows itself to more patient followers.