Problem: a group of n students can be divided into equal groups of 4 with 1 student left over or equal groups of 7 with 3 students left over . what is the sum of the two smallest possible values of n ?
Rationale: n = 4 k + 1 = 7 j + 3 let ' s start at 1 = 4 ( 0 ) + 1 and keep adding 4 until we find a number in the form 7 j + 3 . 1 , 5 , 9 , 13 , 17 = 7 ( 2 ) + 3 the next such number is 17 + 4 * 7 = 45 . 17 + 45 = 62 the answer is c .
annotated_formula: add(add(multiply(7, const_2), 3), add(multiply(7, multiply(const_2, const_3)), 3))