a number when divided by a certain divisor left remainder 255 , when twice the number was divided by the same divisor , the remainder was 112 . find the divisor ?
easy solution : n = dq 1 + 255 2 n = 2 dq 1 + 51 0 - ( 1 ) 2 n = dq 2 + 112 - ( 2 ) as ( 1 ) = ( 2 ) = 2 n d * ( q 2 - 2 q 1 ) = 398 d * some integer = 398 checking all options only ( c ) syncs with it . answer c
subtract(multiply(255, const_2), 112)