What the hell kind of math is this?