TASK DEFINITION: You are supposed to identify the category of a high-school level math question. There are five possible categories (1) algebra (2) arithmetic (3) measurement (4) numbers, and (5) probability. Use the following guidelines: (1) 'algebra' questions will typically contain letter variables and will ask you to find the value of a variable (2) 'arithmetic' questions will ask the sum, difference, multiplication, division, power, square root or value of expressions involving brackets (3) 'measurement' questions are questions that ask to convert a quantity from some unit to some other unit (4) 'numbers' questions will be about bases, remainders, divisors, GCD, LCM etc. (5) 'probability' questions will ask about the probability of the occurrence of something. A question must belong to only one category.
PROBLEM: Let g(n) = 31*n + 1 + 2 - 30*n. Suppose -m - 4*m = -30. What is the units digit of g(m)?

SOLUTION: numbers

PROBLEM: Two letters picked without replacement from qsqsss. Give prob of sequence sq.

SOLUTION: probability

PROBLEM: Suppose -5*g + 4*r - 114 = -774, 0 = -2*g - 3*r + 287. What is the highest common divisor of g and 17?

SOLUTION:
numbers