Hi everyone, i would be very grateful if some one can help me in calculating this result in matlab:

>> mod( (4^15)*(21^13) , 47) ans = 21 which is not correct , it should be 3 , using the windows calculator gets the correct result ( e.g 3 ) but matlab not.

is there another way in matlab to calculate it ?? thanks in advance.