Mathematical expression for solving problems