on dividing a number by 56 , we get 29 as remainder . on dividing the same number by 8 , what will be the remainder ?
"formula : ( divisor * quotient ) + remainder = dividend . soln : ( 56 * q ) + 29 = d - - - - - - - ( 1 ) d % 8 = r - - - - - - - - - - - - - ( 2 ) from equation ( 2 ) , ( ( 56 * q ) + 29 ) % 8 = r . = > assume q = 1 . = > ( 56 + 29 ) % 8 = r . = > 85 % 8 = r = > 5 = r . a )"
multiply(subtract(divide(power(29, const_2), 56), floor(divide(power(29, const_2), 56))), 56)