on dividing a number by 5 , we get 3 as remainder . what will the remainder when the square of the this number is divided by 5 ?
"explanation : let the number be x and on dividing x by 5 , we get k as quotient and 3 as remainder . x = 5 k + 3 x ^ 2 = ( 5 k + 3 ) ^ 2 = ( 25 k ^ 2 + 30 k + 9 ) = 5 ( 5 k ^ 2 + 6 k + 1 ) + 4 on dividing x 2 by 5 , we get 4 as remainder . e )"
multiply(subtract(divide(power(3, const_2), 5), floor(divide(power(3, const_2), 5))), 5)