The act of masturbaiting while looking at numbers. You can do this during math class, maybe while doing some math homework.
Joe: yo, what's nick doing?
Kevin: oh he's just mathematically masturbaiting. He's just trying to get that problem solved.. If ya know what I'm saying ;)