Problem: on dividing a number by 357 , we get 38 as remainder . on dividing the same number by 17 , what will be the remainder ?
Rationale: "let x be the number and y be the quotient . then , x = 357 * y + 38 = ( 17 * 21 * y ) + ( 17 * 2 ) + 4 = 17 * ( 21 y + 2 ) + 4 . required number = 4 . answer is a"
annotated_formula: multiply(subtract(divide(power(38, const_2), 357), floor(divide(power(38, const_2), 357))), 357)