Problem: when n is divided by 5 the remainder is 3 . what is the remainder when ( n + 1 ) ^ 2 is divided by 5 ?
Rationale: "n = 5 x + 3 , for some integer x ( n + 1 ) ^ 2 = ( 5 x + 4 ) ^ 2 = 5 y + 16 , for some integer y when we divide this by 5 , the remainder is 1 . the answer is b ."
annotated_formula: subtract(power(subtract(add(5, 3), 1), 2), multiply(floor(divide(power(subtract(add(5, 3), 1), 2), 5)), 5))