In the Spanish sentence mathematics is the subject of the sentence. The se would be reflexive. If you look up darse it translates as "to yield onself" or "to give in". So similar to apples are pleasing to me we are now saying mathematics yields itself well to me.