Sex is ok but it is nothing like the rush of finishing a really difficult problem or a proof finally clicking. Math requires a level of concentration that, when it pays off, results in a much more rewarding type of gratification. In fact, I don’t think sex should be the singular experience everything else gets compared to at all. Solving a hard math problem is a better comparison point - the tenacity that goes into it results in much higher quality highs coming out.