Problem: a group of n students can be divided into equal groups of 4 with 2 student left over or equal groups of 5 with 2 students left over . what is the sum of the two smallest possible values of n ?
Rationale: "4 x + 2 = 5 y + 2 . . . . . . . . . . . ie : 4 x - 5 y = 0 x , y must be > 1 and y is even ie ( 2 , 4,6 , . . etc ) if y = 2 thus x is fraction if y = 4 thus x = 5 n = 22 if y = 6 thus x = not possible fraction if y = 8 thus x = 10 n = 42 summation 22 + 42 = 64 c"
annotated_formula: add(add(multiply(5, const_2), 2), add(multiply(5, multiply(const_2, 2)), 2))