Math stumps students on state exams