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