find the remainder when 3 ^ 27 is divided by 5 ?
"solution : 3 ^ 27 = ( ( 3 ^ 4 ) ^ 6 ) * ( 3 ^ 3 ) = ( 81 ^ 6 ) * 27 then unit digit of ( 81 ^ 6 ) is 1 so on multiplying with 27 , unit digit in the result will be 7 . now , 7 when divided by 5 gives 2 as remainder . answer b"
reminder(power(3, 27), 5)